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

时间:2021-07-09 16:24:14

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: 修改是否有空行;