Loading

Eclipse格式化代码换行、删除空行

Java代码

Window-preference-Java-Code Style-Formatter|Edit...-Line Wrapping|Maximum line width: 修改一行最大长度;

Window-preference-Java-Code Style-Formatter|Edit...-Blank Lines|... 修改是否有空行;

HTML代码

Window-Preference-MyEclipse-Files and Editors-HTML-HTML Source|Line width: 修改一行最大长度;

Window-Preference-MyEclipse-Files and Editors-HTML-HTML Source|Clear all blank lines: 修改是否有空行;

 

posted @ 2015-09-23 08:26  stono  阅读(568)  评论(0编辑  收藏  举报