开发者

How to change Eclipse indentation style for automatically generated code?

Is there开发者_如何学编程 any way to change indentation style for automatically generated code in Eclipse? I'd like to change from

class Test {
blah blah
}

to

  class Test 
  {
  blah blah
  }


If you do change the format of the brace, all new class will be generated according to that new format:

How to change Eclipse indentation style for automatically generated code?


It's in "Window | Preferences" in the latest eclipse.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜