开发者

How to change Eclipse indentation style for automatically generated code?

开发者 https://www.devze.com 2022-12-31 22:52 出处:网络
Is there开发者_如何学编程 any way to change indentation style for automatically generated code in Eclipse?

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

精彩评论

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