更改Eclipse代码宽度

来源:互联网 发布:王者荣耀用户数据分析 编辑:程序博客网 时间:2024/06/05 14:39

1.Java代码


打开Eclipse的Window菜单,然后

Preferences->Java->Code Style->Formatter->Edit ->Line Wrapping->Maximum line width:默认80

加个0,改成800就行了。

 

2.CSS代码


Window->Preferences->Web->CSS Files->Editor->Line width:默认为72

加个0,改为720保存。

 

3.Html代码


Window->Preferences->Web->HTML Files->Editor->Line width:默认为72

加个0,改为720保存。

 

4.JSP代码


Window->Preferences->Web->JSP Files->Editor->Line width:默认为72

加个0,改为720保存。