VSCode代码格式化配置文件

{ "editor.fontSize": 15,

"workbench.editor.showTabs": true,

"workbench.editor.enablePreview": false,

"scm.autoReveal": false,

"explorer.autoReveal": false,

"editor.tabSize": 2,

"vetur.format.defaultFormatter.js": "vscode-typescript",//代码格式化配置

"vetur.format.defaultFormatter.html": "js-beautify-html",

"vetur.format.defaultFormatterOptions":

{ "js-beautify-html":

{ "wrap_attributes": "auto" },

"prettyhtml": { "printWidth": 100, "singleQuote": false, "wrapAttributes": false, "sortAttributes": false } },}

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容