{
"git.ignoreMissingGitWarning": true,
// "files.associations": {"*.vue":"html"},
"files.associations": {
"*.vue": "html",
},
"css.validate": false,
"editor.fontSize": 14,
"beautify.language": {
"js": {
"type": ["javascript", "json"],
"filename": [".jshintrc", ".jsbeautify"]
},
"css": ["css", "scss", "less", "stylus"],
"html": ["htm", "html", "vue"],
"editor.formatOneSave": true
},
"view-in-browser.customBrowser": "chrome",
"javascript.implicitProjectConfig.experimentalDecorators": true,
"liveServer.settings.port": 0,
"javascript.updateImportsOnFileMove.enabled": "always",
// 以下为stylus配置
"stylusSupremacy.insertColons": false, // 是否插入冒号
"stylusSupremacy.insertSemicolons": false, // 是否插入分好
"stylusSupremacy.insertBraces": false, // 是否插入大括号
"stylusSupremacy.insertNewLineAroundImports": true, // import之后是否换行
"stylusSupremacy.insertNewLineAroundBlocks": false, // 两个选择器中是否换行
"languageStylus.useSeparator": true,
"languageStylus.useBuiltinFunctions": true,
"editor.colorDecorators": true,
"[javascript]": {
// "editor.formatOneSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// 控制是否在搜索中跟踪符号链接。解决VSCode启动后CPU高占用问题
"search.followSymlinks": false,
// tab锁紧
"editor.tabSize": 2,
"[vue]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[less]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"bookmarks.navigateThroughAllFiles": true,
"bookmarks.wrapNavigation": true,
"bookmarks.showCommandsInContextMenu": true,
"bookmarks.useWorkaroundForFormatters": true,
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"diffEditor.ignoreTrimWhitespace": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"vsicons.dontShowNewVersionMessage": true,
"[scss]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.iconTheme": "vscode-icons"
}
vscode 配置项
最新推荐文章于 2023-05-31 09:52:01 发布