vscode自动进行代码规范

文件--首选项--设置   右侧用户设置{ }中输入并保存

"emmet.syntaxProfiles": {

"vue-html": "html",

"vue": "html"

},

"emmet.includeLanguages": {

"vue-html": "html",

"vue": "html"

},

"vetur.validation.template": false,

"eslint.validate": ["javascript", "javascriptreact", "html", "vue"],

"editor.tabSize": 2,

"editor.snippetSuggestions": "top",

"search.exclude": {

"**/node_modules": true,

"**/bower_components": true,

"**/dist": true

},

"prettier.singleQuote": true,

"prettier.semi": false,

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

"editor.formatOnSave": true,

"editor.quickSuggestions": {

"strings": true

},

"element-helper.version": "2.0",

"search.followSymlinks": false,

你可能感兴趣的:(vscode自动进行代码规范)