{
"workbench.iconTheme": "vscode-icons",
"editor.quickSuggestions": {
"strings": true
},
//添加 @description 的选项
"docthis.includeDescriptionTag": true,
//sync插件所生成的gisId 用于同步本地插件到远程
"sync.gist": "2d34aaa3586126b9d0ef5a2d3fbb1afc",
//path-intellisense插件映射到别名@,用于路径自动提示
"path-intellisense.mappings": {
"@": "${workspaceRoot}/src"
},
// koroFileHeader 插件,自动生成头部注释
"fileheader.customMade":{
"Author":"jinjianwei",
"Date":"Do not edit",
"Description":"Do not edit"
},
"fileheader.cursorMode": {}, // 自动生成函数注释
"bracket-pair-colorizer-2.depreciation-notice": false,
"alignment.surroundSpace": {
"colon": [
0,
1
],
"assignment": [
1,
1
],
"arrow": [
1,
1
],
"comment": 2
},
"settings": {
"liveServer.settings.AdvanceCustomBrowserCmdLine": "",
"liveServer.settings.CustomBrowser": "chrome",
"editor.fontsize": 14,
"editor.formatOnSave": true
},
"editor.tabSize": 2,
"[javascriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"editor.fontSize": 14.5,
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"editor.suggest.snippetsPreventQuickSuggestions": false,
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"editor.minimap.enabled": false,
"workbench.activityBar.visible": true,
"standard.autoFixOnSave": true,
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
"emmet.triggerExpansionOnTab": true,
"editor.formatOnType": true,
"editor.formatOnSave": true,
//配置eslint
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.format.enable": true,
//autoFix默认开启,只需输入字符串数组即可
"eslint.validate": [
"javascript",
"vue",
"html"
],
"launch": {
"configurations": [],
"compounds": []
},
"vetur.format.defaultFormatterOptions": {
"prettier": {
"semi": false,
"singleQuote": true,
"printWidth": 200,
"trailingComma": "none"
}
},
"javascript.format.insertSpaceBeforeFunctionParenthesis": false,
"git.enableSmartCommit": true,
"git.confirmSync": false,
}
vscode 配置文件
最新推荐文章于 2024-05-30 11:16:38 发布