且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Emmet缩写语法乘法将所有元素放在同一行而不是多个行?

更新时间:2023-12-04 10:35:10

"emmet.preferences": {
  "output.inlineBreak": 1
}

这似乎是更好的技术,请参见 https://github.com/microsoft/vscode/issues/119088#issuecomment-811297787 作为 emmet.syntaxProfiles inline_break 本身不受emmet本身的支持,但在vscode.因此,可能会在某些时候弃用它,而推荐使用 emmet.preferences 方法.

This appears to be the better technique, see https://github.com/microsoft/vscode/issues/119088#issuecomment-811297787 as the emmet.syntaxProfiles and inline_break isn't actually supported by emmet itself but an addition in vscode. So it may be deprecated at some point in favor of emmet.preferences approach.