最新下载
热门教程
- 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
格式化前:
格式化后:
总结
相关文章
- 逆水寒手游橙戒流火幻荧什么时候上线 04-25
- 原神仆人阵容搭配推荐 04-25
- 恶意不息铁匠铺怎么升级 04-25
- 原神龙蜥特急斯库拉号成就怎么达成 04-25
- 恶意不息浅滩双子掉落什么 04-25
- 原神仆人阿蕾奇诺武器推荐 04-25