问题描述
当我输入 a*5 时,我希望在新行中得到五个标签。然而,我得到的五个标签是这样的。
我应该如何更改 VScode 中的设置以便在新行中有五个标签?
解决方法
您的设置中似乎需要这个:
"emmet.syntaxProfiles": {
"html": {
"inline_break": 1
},},
这会将所有标签(包括 span
和其他通常的内联标签)放在自己的行上。无法将其限制为 a
标签。
我以为 "tag_nl" : true
会起作用,但没有。
见emmet syntaxProfiles。