在这记录一下
{
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"vue-html": "html",
"vue": "html"
},
// 一定要加上这行表示 启用时根据文件内容进行重写,不加这行tabsize不生效
"editor.detectIndentation":false,
"editor.tabSize": 4,
"files.associations": {
"*.vue": "vue"
},
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "html",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
],
"emmet.syntaxProfiles": {
"javascript": "jsx",
"vue": "html",
"vue-html": "html"
},
"git.confirmSync": false,
"editor.renderWhitespace": "boundary",
"editor.cursorBlinking": "smooth",
"editor.minimap.enabled": true,
"editor.minimap.renderCharacters": false,
"editor.codeLens": true,
"editor.snippetSuggestions": "top",
"prettier.singleQuote": true,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"window.zoomLevel": 0,
"editor.fontFamily": "Consolas, Microsoft Yahei",
"terminal.integrated.fontFamily": "Consolas",
"editor.fontSize": 16,
"editor.lineHeight": 26,
"editor.wordWrap": "on",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.colorTheme": "Abyss",
"editor.parameterHints": true,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"explorer.confirmDelete": false
}