最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Eclipse代码格式化设置简单介绍
时间:2022-06-29 02:33:47 编辑:袖梨 来源:一聚教程网
自用项目中统一Eclipse格式化Java、JavaScript、JSP、HTML代码设置
1.Window->Preferences //Java 格式化 2.Java->Code Style->Formatter->New->Edit->Line Wrapping 3.Maximum Line 4.Set line width for preview window = 180 //JavaScript 格式化 5.JavaScript->Code Style->Formatter->New->Edit->Line Wrapping 6.Maximum Line 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 Inline Elements 选中所有-> Remove
格式化前:
格式化后:
总结
相关文章
- 《辐射4》q键使用介绍 04-26
- 《辐射4》人物介绍 04-26
- 《下一站江湖2》风卷残云获得方法 04-26
- 《The Star Named EOS未晓星程》配置要求介绍 04-26
- 《辐射4》设置中文方法 04-26
- 《辐射4》88号避难所终端机一直初始化解决办法 04-26