如何设置Eclipse工作区默认编辑宽度

 

1)打开Window  => Preferences窗口

2)打开Formatter属性页从Java => CodeStyle => Formatter

3) 单击New创建一个自己的Formatter

4)选择Line Wrapping属性页,并设置Maximum line width 为160

5)然后一路OK就可以了

原文地址:https://www.cnblogs.com/niray/p/3817146.html