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

来源:互联网 发布:tensorflow中文版 编辑:程序博客网 时间:2024/06/02 06:38

1)打开Window  => Preferences窗口


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


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


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


5)然后一路OK就可以了