{
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"editor.tabSize": 2,
"diffEditor.ignoreTrimWhitespace": false,
"git.ignoreWindowsGit27Warning": true,
"[json]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
"javascript.format.insertSpaceBeforeFunctionParenthesis": true, //让函数(名)和后面的括号之间加个空格
"vetur.format.defaultFormatter.html": "js-beautify-html", //格式化.vue中html
"vetur.format.defaultFormatter.js": "vscode-typescript", //让vue中的js按编辑器自带的ts格式进行格式化
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "auto",
},
"prettyhtml": {
"printWidth": 520,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": false
}
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": false
},
//显式弹出语法展开提示
"emmet.showSuggestionsAsSnippets": true,
//将语法展开提示在提示列表中置顶
"editor.snippetSuggestions": "top",
//emmet只显示标记语言和样式表的展开提示
"emmet.showExpandedAbbreviation": "inMarkupAndStylesheetFilesOnly",
//emmet能识别缩写语法的场景
"emmet.includeLanguages": {
"javascript": "javascriptvue",
"vue-html": "html",
"plaintext": "jade"
},
"launch": {},
"editor.largeFileOptimizations": false,
"editor.fontSize": 15,
"workbench.editor.decorations.colors": false,
"liveServer.settings.port": 0,
"[jsonc]": {
"editor.defaultFormatter": "svipas.prettier-plus"
},
"window.zoomLevel": -1,
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/*.code-search": true,
"**/.nuxt": true,
},
"editor.renderWhitespace": "none",
"editor.minimap.enabled": false,
"breadcrumbs.enabled": false,
"editor.renderControlCharacters": false,
"vetur.validation.template": false,
"files.refactoring.autoSave": false,
"testing.saveBeforeTest": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"json.validate.enable": false,
"html.validate.scripts": false,
"html.validate.styles": false
}