VS守则堆积元素的属性,当我格式化的HTML文件。有什么办法禁用此?
它的默认设置是:
"html.format.wrapAttributes": "auto"
随着"auto"
含义:
总结属性超过了线的长度只有当。
线长度在不同的设置,缺省值为120
定义:
// Maximum amount of characters per line (0 = disable).
"html.format.wrapLineLength": 120
所以"html.format.wrapLineLength"
设置为0
应该给你所期望的行为。