Eclipse中代码大括号上下对齐

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/crossing2012/article/details/81292874

依次点击Window->Preferences->Java->Code Style->Formatter->Edit

取个新名称(mystyle),展开Brace position选项卡,全部设置为next line.点击应用并退出。

猜你喜欢

转载自blog.csdn.net/crossing2012/article/details/81292874