eclipse格式化代码样式
1.Window->Preferences
//Java 格式化
2.Java->Code Style->Formatter->New->Edit->Line Wrapping
3.Maximum Line width = 180
4.Set line width for preview window = 180
//JavaScript 格式化
5.JavaScript->Code Style->Formatter->New->Edit->Line Wrapping
6.Maximum Line width = 180
7.Set line width for preview window = 180
8.Tab标签页->Comments
9.Maximum line width for comments = 180
//JSP|HTML页面 格式化
10.Web->HTML Files->Editor
Line width = 180
Inline Elements 选中所有-> Remove
版权声明:本文为cxw-cm原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。