小编Sid*_*ngh的帖子

在Visual Studio Code中格式化html代码,使属性在不同的行上?

似乎缺少vscode的格式设置.我希望能够格式化html,以便我的html显示为:

<div attrib1=value1
     attrib2=value2
     attrib3=value3>
  Content
</div>
Run Code Online (Sandbox Code Playgroud)

这是我真正喜欢的一项功能!

html formatting visual-studio-code

31
推荐指数
2
解决办法
1万
查看次数

标签 统计

formatting ×1

html ×1

visual-studio-code ×1