vscode常用配置

以下为个人vscode默认配置,主要为个人备份查看,大家仅供参考。

{
"workbench.colorTheme": "Default Dark+",
"explorer.confirmDelete": false,
"editor.fontSize": 14,
"files.autoSave": "onFocusChange",
"files.associations": {
"*.vue": "vue"
},
"editor.wordWrap": "on",
"debug.console.closeOnEnd": true,
"debug.allowBreakpointsEverywhere": true,
"merge-conflict.autoNavigateNextConflict.enabled": true,
"workbench.iconTheme": "vscode-icons",
"eslint.format.enable": true,
"eslint.nodeEnv": "",
"editor.formatOnSave": true,
"explorer.confirmDragAndDrop": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[less]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"liveServer.settings.donotShowInfoMsg": true,
"jshint.enable": false,
"browser-preview.ignoreHttpsErrors": true, // Ignore HTTPS errors if you are using self-signed SSL certificates
"browser-preview.format": "jpeg,png,jpg", // Option to set the type of rendering with the support for `jpeg` (default one) and `png` formats
"browser-preview.chromeExecutable": "http://localhost:5500/learnvs/index.html", // The full path to the executable, including the complete filename of the executable
"browser-preview.startUrl": "https://www.baidu.com", // The default start url for new Browser Preview instances
"browser-preview.verbose": false,
"liveServer.settings.ChromeDebuggingAttachment": false,
"editor.mouseWheelZoom": true,
"vsicons.dontShowNewVersionMessage": true,
"prettier.useTabs": true,
"editor.find.autoFindInSelection": "multiline",
"editor.find.seedSearchStringFromSelection": "always",
"prettier.vueIndentScriptAndStyle": true,
"editor.minimap.enabled": false,
"editor.wordWrapColumn": 150,
"editor.tabSize": 2, // Enable verbose logging of messages sent between VS Code and Chrome instance
"fileheader.Author": "Wang Ping",
"fileheader.LastModifiedBy": "Wang Ping",
// vue template html 支持emmet语法
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
// 支持任意单词输入后tab生成元素标签
"emmet.triggerExpansionOnTab": true,
// 开启emmet语法提示
"emmet.showAbbreviationSuggestions": true,
// 总是显示emmet语法提示
"emmet.showExpandedAbbreviation": "always",
// 支持在javascript中模版字符串的html支持emmet语法
"emmet.includeLanguages": {
"javascript": "html"
},
"npm.enableRunFromFolder": true,
"git.confirmSync": false,
"workbench.editor.enablePreview": false,
"explorer.compactFolders": false,
"workbench.list.openMode": "doubleClick",
"liveServer.settings.CustomBrowser": "chrome",
"workbench.tree.expandMode": "doubleClick",
"bracketPairColorizer.depreciation-notice": false,
"javascript.suggest.enabled": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"turboConsoleLog.includeFileNameAndLineNum": false
}
{
"workbench.colorTheme": "Default Dark+",
"explorer.confirmDelete": false,
"editor.fontSize": 14,
"files.autoSave": "onFocusChange",
"files.associations": {
"*.vue": "vue"
},
"editor.wordWrap": "on",
"debug.console.closeOnEnd": true,
"debug.allowBreakpointsEverywhere": true,
"merge-conflict.autoNavigateNextConflict.enabled": true,
"workbench.iconTheme": "vscode-icons",
"eslint.format.enable": true,
"eslint.nodeEnv": "",
"editor.formatOnSave": true,
"explorer.confirmDragAndDrop": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[less]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"liveServer.settings.donotShowInfoMsg": true,
"jshint.enable": false,
"browser-preview.ignoreHttpsErrors": true, // Ignore HTTPS errors if you are using self-signed SSL certificates
"browser-preview.format": "jpeg,png,jpg", // Option to set the type of rendering with the support for `jpeg` (default one) and `png` formats
"browser-preview.chromeExecutable": "http://localhost:5500/learnvs/index.html", // The full path to the executable, including the complete filename of the executable
"browser-preview.startUrl": "https://www.baidu.com", // The default start url for new Browser Preview instances
"browser-preview.verbose": false,
"liveServer.settings.ChromeDebuggingAttachment": false,
"editor.mouseWheelZoom": true,
"vsicons.dontShowNewVersionMessage": true,
"prettier.useTabs": true,
"editor.find.autoFindInSelection": "multiline",
"editor.find.seedSearchStringFromSelection": "always",
"prettier.vueIndentScriptAndStyle": true,
"editor.minimap.enabled": false,
"editor.wordWrapColumn": 150,
"editor.tabSize": 2, // Enable verbose logging of messages sent between VS Code and Chrome instance
"fileheader.Author": "Wang Ping",
"fileheader.LastModifiedBy": "Wang Ping",
// vue template html 支持emmet语法
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
// 支持任意单词输入后tab生成元素标签
"emmet.triggerExpansionOnTab": true,
// 开启emmet语法提示
"emmet.showAbbreviationSuggestions": true,
// 总是显示emmet语法提示
"emmet.showExpandedAbbreviation": "always",
// 支持在javascript中模版字符串的html支持emmet语法
"emmet.includeLanguages": {
"javascript": "html"
},
"npm.enableRunFromFolder": true,
"git.confirmSync": false,
"workbench.editor.enablePreview": false,
"explorer.compactFolders": false,
"workbench.list.openMode": "doubleClick",
"liveServer.settings.CustomBrowser": "chrome",
"workbench.tree.expandMode": "doubleClick",
"bracketPairColorizer.depreciation-notice": false,
"javascript.suggest.enabled": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"turboConsoleLog.includeFileNameAndLineNum": false
}

 

posted @ 2022-07-05 15:08  蓓蕾心晴  阅读(1029)  评论(0编辑  收藏  举报