{
"cmake.configureOnOpen": true,
"explorer.confirmDelete": false,
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"diffEditor.ignoreTrimWhitespace": false,
"editor.fontSize": 16,
"editor.accessibilityPageSize": 16,
"workbench.colorTheme": "Visual Studio Dark",
"workbench.preferredHighContrastLightColorTheme": "Visual Studio Dark",
"workbench.preferredDarkColorTheme": "Visual Studio Light",
"workbench.tree.indent": 10,
"editor.minimap.sectionHeaderFontSize": 14,
"explorer.openEditors.visible": 14,
"window.zoomLevel": 1.5,
"workbench.preferredLightColorTheme": "Default High Contrast",
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "vue",
"autoFix": true
}
],
// 使用插件格式化 html
"vetur.format.defaultFormatter.html": "js-beautify-html",
// 格式化插件的配置
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
// 属性强制折行对齐
"wrap_attributes": "force-aligned"
}
},
"vetur.format.defaultFormatter": {
"html": "prettier",
"css": "prettier",
"postcss": "prettier",
"scss": "prettier",
"less": "prettier",
"js": "prettier",
"ts": "prettier",
"stylus": "stylus-supremacy"
},
// html颜色高亮
"files.associations": {
".eslintrc": "json",
"*.vue": "html"
},
"emmet.syntaxProfiles": {
"javascript": "jsx",
"vue": "html",
"vue-html": "html"
}
}