有没有快速简便的方法来转换代码,如下所示:
<style>
element { property:value; property:value;
property:value;
property:value; }
element { property:value; property:value; property:value; property:value; property:value; }
element {property:value; property:value; property:value;
property:value;
property:value; property:value;
}
</style>
<div>
content content content <div> content </div>
</div>
像这样漂亮和整洁:
<style>
element { property:value; property:value; property:value; property:value; }
element { property:value; property:value; property:value; property:value; }
element { property:value; property:value; property:value; property:value; }
</style>
<div>
content content content
<div>
content
</div>
</div>
如果有按钮按字母顺序放置css,也会让生活更轻松
答案 0 :(得分:1)
答案 1 :(得分:0)
尝试:
Command -> Apply Source Formatting