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 } },}

你可能感兴趣的:(VSCode代码格式化配置文件)