eclipse jsp/html格式化设置

文章目录

菜单位置

window-preferences-web-html files - editor
eclipse jsp/html格式化设置

选项含义

1.Split multiple attributes each on a new lint。将多个属性分别拆分到新的线头上。不选择,选了的话标签的属性也会分行 看起来分行就太多了;
2. align final bracket in multi-line element tags。对齐多行元素标记中的最后一个括号。随意;
3. clear all blank lines。清除所有空行。不选。保留空行作为分段之类的;
4. indent using tabs。使用制表符缩进。我支持Tab党;
5. indent useing spaces。异教徒;
6. inline elements。内联元素。去掉a标签和span标签,界面一下就明朗了_
7. preferred markup case for content assist and code generation。内容辅助和代码生成的首选标记案例。标签名:大写、小写;属性名称:大写、小写 ;