VScode编辑器配置

配置好VScode,可以大幅度提高vue代码的书写效率

具体配置

{

"workbench.welcome.enabled":false,

"files.autoSave":"onWindowChange",

"extensions.ignoreRecommendations":false,

"workbench.activityBar.visible":true,

"workbench.statusBar.visible":false,

"editor.minimap.enabled":false,

"editor.detectIndentation":false,

"editor.formatOnType":true,

"editor.formatOnSave":true,

"editor.wrappingIndent":"same"。,

"vetur.format.styleInitialIndent":true,

"vetur.format.scriptInitialIndent":true,

"vetur.format.defaultFormatter.js":"vscode-typescript",

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

"prettier.tabWidth":4,

"eslint.validate": [

"javascript",

"javascriptreact",

"html",

{

"language":"vue",

"autoFix":true

}

],

"eslint.options": {

"plugins": [

"html"

]

}

}

VScode编辑器配置_第1张图片

你可能感兴趣的:(VScode编辑器配置)