此次只做记录
1安装
2.安装完成后,选择文件 ——首选项——设置
进入后配置
{
“editor.fontSize”: 18,
"files.autoSave": "onFocusChange",//失去焦点自动保存
"workbench.startupEditor": "welcomePage",
"editor.quickSuggestions": {
"strings": true
},
// vue设置
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
"files.associations": {
"*.vue": "vue"
},
// vetur设置
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatter.js": "vscode-typescript",
// format设置
"javascript.format.insertSpaceBeforeFunctionParenthesis": false,
"editor.formatOnSave": true,
}
内含ctrl+s自动格式化,失去焦点保存,vue美化