标签:rap sort pre 商业 code button webp html default
vscode格式话代码:ctrl+shift+f,
ctrl+shift+f
vscode中的文件->首选项->设置->工作区->setting.json
{ "vetur.format.defaultFormatter.js": "vscode-typescript", "vetur.format.defaultFormatterOptions": { "js-beautify-html": { "wrap_attributes": "force-expand-multiline", "wap_line_length": 220, "end_with_newline": false }, "prettyhtml": { "printWidth": 220, "singleQuote": false, "wrapAttributes": false, "sortAttributes": false } }
{
优化vscode格式html代码,保持标签不换行
原文地址:https://www.cnblogs.com/zhouhua815/p/12363280.html