在Preferences中:Java Code Style Formatter
在 eclipse 中设置每行的字数
原文:http://www.cnblogs.com/wangcp-2014/p/5825776.html