{
"extensions.ignoreRecommendations": false,
"editor.renderIndentGuides": false,
"workbench.colorTheme": "Monokai",
"editor.tabSize": 2,
"editor.formatOnType": true,
"json.format.enable": true,
"workbench.startupEditor": "newUntitledFile",
"auto-close-tag.activationOnLanguage": [
"html",
"cshtml",
"xml",
"php",
"blade",
"ejs",
"handlebars",
"jinja",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"plaintext",
"markdown",
"razor",
"vue",
"liquid"
],
"emmet.includeLanguages": {
"vue-html": "html",
"vue": "html"
},
"files.associations": {
".cshtml": "html",
".vue": "vue",
".wpy": "vue"
},
"editor.fontSize": 16,
"editor.fontFamily": "'ubuntu mono','monaco'", //,PingFang SC',consolas,
"debugwrapper.wrappers": {
"javascript": "console.log('SEL)",
"vue": "console.log('SEL)",
"typescript": "console.log('SEL)",
"php": "echo '<pre>SEL); echo '</pre>';",
"default": "print($SEL);"
},
//autoFixedOnSave 设置已废弃,采用如下新的设置
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.format.enable": true,
//autoFix默认开启,只需输入字符串数组即可
"eslint.validate": ["javascript", "vue", "html"],
"eslint.options": {
"plugins": [
"html"
]
},
"eslint.run": "onSave",
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true,
"suppressUpdateNotice": true,
"suppressWelcomeNotice": true
},
//离开焦点保存
"files.autoSave": "off",
"git.autofetch": true,
"guides.active.width": 2,
"guides.active.color.dark": "rgba(255, 60, 60, 0.75)",
"gitlens.keymap": "alternate",
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"terminal.integrated.rendererType": "dom",
"javascript.updateImportsOnFileMove.enabled": "never",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"workbench.iconTheme": "vscode-icons",
"vsicons.dontShowNewVersionMessage": true,
"workbench.editorAssociations": [
{
"viewType": "default",
"filenamePattern": ".vue"
}
]
}
vscode常用配置
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
相关阅读更多精彩内容
- {"editor.fontSize": 16,"workbench.iconTheme": "vscode-ico...
- 完美Visual Studio Code(vscode)Git项目地址原文 完美Visual Studio Cod...