最新下载
热门教程
- 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
格式化前:
格式化后:
总结
相关文章
- 明末渊虚之羽想回原起点要怎么做 原起点传送方法介绍 07-30
- 绝区零插头布强度如何 绝区零插头布强度介绍 07-30
- 柴犬币的今日价格(今天柴犬币的最新价格) 07-30
- 人渣SCUM武器怎么制作 武器制作方法分享 07-30
- 燕云十六声河伯无伤怎么通关 鬼神愁无伤逃课打法攻略 07-30
- 明末渊虚之羽覆羽剑怎么样 覆羽剑武器技能介绍 07-30