{
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 10000,
"editor.fontSize": 16,
"editor.insertSpaces": false,
"editor.lineNumbers": "interval",
"editor.cursorBlinking": "solid",
"editor.fontWeight": "100",
"editor.smoothScrolling": true,
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 100,
"editor.codeActionsOnSaveTimeout": 8500,
"editor.dragAndDrop": true,
"editor.lineHeight": 24,
"editor.renderLineHighlight": "all",
"editor.tabCompletion": "onlySnippets",
"editor.tabSize": 2,
"editor.minimap.maxColumn": 20,
"editor.detectIndentation": true,
"editor.renderIndentGuides": false,
"editor.hideCursorInOverviewRuler": true,
"editor.overviewRulerBorder": false,
"editor.quickSuggestions": true,
"editor.fontLigatures": true,
"editor.minimap.renderCharacters": false,
"editor.multiCursorModifier": "ctrlCmd",
"editor.mouseWheelScrollSensitivity": 5,
"files.trimTrailingWhitespace": true,
"files.trimFinalNewlines": true,
"window.zoomLevel": 1,
"git.autofetch": true,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
},
"vetur.format.defaultFormatter.html": "prettyhtml",
"vetur.format.defaultFormatterOptions": {
"prettier": {
"semi": true, // 保留分号
"singleQuote": true, // 使用单引号
"jsxBracketSameLine": true, // 将 > 多行JSX元素放在最后一行的末尾, 而不是单独放在下一行
"arrowParens": "always" // 要求箭头函数的参数使用圆括号
},
"prettyhtml": {
"printWidth": 160,
"singleQuote": false,
"proseWrap": "preserve",
"wrapAttributes": false,
"sortAttributes": false
},
"js-beautify-html": {
"wrap_attributes": "auto",
}
},
"extensions.closeExtensionDetailsOnViewChange": true,
"extensions.ignoreRecommendations": true,
"extensions.showRecommendationsOnlyOnDemand": true,
"files.associations": {
"*.js": "javascript"
},
"emmet.includeLanguages": {
"javascript": "javascriptreact",
"jsx-sublime-babel-tags": "javascriptreact"
},
"emmet.triggerExpansionOnTab": true,
"emmet.showExpandedAbbreviation": "never",
"terminal.explorerKind": "external",
"terminal.integrated.cursorStyle": "underline",
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"terminal.integrated.fontFamily": "Consolas, 'Courier New', monospace",
// import路径移动或重命名时,自动更新
"javascript.updateImportsOnFileMove.enabled": "always",
// 匿名函数后加空格
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
"vetur.format.defaultFormatter.js": "vscode-typescript",
// 函数名后加空格
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
/*--------- 第三方插件设置 ----------*/
// eslint保存时自动修复
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
{
"language": "javascript",
"autoFix": true
},
{
"language": "html",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
],
"eslint.options": {
"plugins": ["html"]
},
"eslint.alwaysShowStatus": true,
// gitlens
"gitlens.advanced.fileHistoryFollowsRenames": false,
"gitlens.advanced.caching.enabled": false,
"gitlens.advanced.maxListItems": 100,
"gitlens.blame.separateLines": false,
// bracket Pair Colorizer
"bracketPairColorizer.colorMode": "Independent",
// prettier
"prettier.tabWidth": 4,
"prettier.parser": "flow",
// powermode
"powermode.enabled": true,
"powermode.enableShake": false,
"powermode.explosionOffset": 1,
// Settings Sync
"sync.askGistName": true,
"sync.gist": "c29326e6685e3ba4f18bd383fbd11602",
/*--------- 主题、界面设置 ----------*/
// 工作区颜色自定义
"workbench.colorCustomizations": {
"activityBar.background": "#111111",
"activityBarBadge.background": "#12cc6f",
"list.activeSelectionForeground": "#12cc6f",
"list.inactiveSelectionForeground": "#12cc6f",
"list.highlightForeground": "#12cc6f",
"scrollbarSlider.activeBackground": "#FFA00050",
"editorSuggestWidget.highlightForeground": "#12cc6f",
"textLink.foreground": "#12cc6f",
"progressBar.background": "#12cc6f",
"pickerGroup.foreground": "#12cc6f",
"tab.activeBorder": "#12cc6f",
"notificationLink.foreground": "#12cc6f",
"editorWidget.resizeBorder": "#12cc6f",
"editorWidget.border": "#12cc6f",
"settings.modifiedItemIndicator": "#12cc6f",
"settings.headerForeground": "#12cc6f",
"panelTitle.activeBorder": "#12cc6f",
"breadcrumb.activeSelectionForeground": "#12cc6f",
"menu.selectionForeground": "#12cc6f",
"menubar.selectionForeground": "#12cc6f"
},
// 工作区
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Ayu One Dark",
"workbench.statusBar.visible": true,
"workbench.activityBar.visible": true,
"workbench.commandPalette.preserveInput": true,
"workbench.startupEditor": "newUntitledFile",
"materialTheme.accent": "Yellow",
"markdownlint.customRules": [
"{docsmsft.docs-markdown}/markdownlint-custom-rules/rules.js"
],
"files.insertFinalNewline": true,
"files.useExperimentalFileWatcher": true,
"breadcrumbs.enabled": true,
"breadcrumbs.filePath": "off",
"breadcrumbs.symbolPath": "last",
"workbench.editor.highlightModifiedTabs": true,
"window.autoDetectHighContrast": false,
"window.menuBarVisibility": "toggle",
"search.showLineNumbers": true,
"search.useGlobalIgnoreFiles": true,
"scm.alwaysShowActions": true,
"terminal.integrated.confirmOnExit": true,
"terminal.integrated.copyOnSelection": true,
"scm.diffDecorations": "none",
"workbench.editor.revealIfOpen": true,
"liveServer.settings.donotShowInfoMsg": true,
"[javascript]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"html.format.endWithNewline": true,
"zenMode.fullScreen": false,
"workbench.statusBar.feedback.visible": false,
"stylusSupremacy.sortProperties": "grouped",
"liveServer.settings.donotVerifyTags": true,
"editor.quickSuggestionsDelay": 200,
"search.exclude": {
"**/dist": true
}
}