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

 

1)打开Window  => Preferences窗口

 

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

 

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

 

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

 

5)然后一路OK就可以了

posted @ 2014-06-30 18:58  n1rAy  阅读(228)  评论(0编辑  收藏  举报