在 VS 代码中使用 emmet 时,我无法在新行中获取 <a></a> 标签
I can't get <a></a> tags in new lines when using emmet in VS code
当我输入 a*5 时,我希望在新行中得到五个标签。然而,我得到的五个标签是这样的。
我应该如何更改 VScode 中的设置以便在新行中有五个标签?
您的设置中似乎需要这个:
"emmet.syntaxProfiles": {
"html": {
"inline_break": 1
},
},
这会将所有标签(包括 span
和其他典型的内联标签)放在各自的行中。无法将其限制为 a
个标签。
我认为 "tag_nl" : true
可以,但没有。
当我输入 a*5 时,我希望在新行中得到五个标签。然而,我得到的五个标签是这样的。
我应该如何更改 VScode 中的设置以便在新行中有五个标签?
您的设置中似乎需要这个:
"emmet.syntaxProfiles": {
"html": {
"inline_break": 1
},
},
这会将所有标签(包括 span
和其他典型的内联标签)放在各自的行中。无法将其限制为 a
个标签。
我认为 "tag_nl" : true
可以,但没有。