分享一下我自己的vscode配置
界面:
setting.json
{
"workbench.settings.editor": "json",//"json" or "ui"
"editor.fontSize": 19,
"workbench.iconTheme": "vscode-icons",
"debug.onTaskErrors": "showErrors",
"editor.fontFamily": "'Source Code Pro', '微软雅黑', monospace, 'Droid Sans Fallback'",
"update.showReleaseNotes": false,
"telemetry.enableTelemetry": false,
"telemetry.enableCrashReporter": false,
"update.mode": "none",
"vsicons.dontShowNewVersionMessage": true,
"window.zoomLevel": 0,
"explorer.confirmDelete": false,
"files.autoGuessEncoding": true,
"editor.renderWhitespace": "all",
"markdown.preview.fontSize": 17,
"terminal.integrated.fontSize": 16,
"debug.console.fontSize": 16,
"diffEditor.ignoreTrimWhitespace": false,
"workbench.preferredDarkColorTheme": "Default Light+",
"editor.suggestFontSize": 17,
"http.proxyAuthorization": null,
"git.path": "/usr/bin/git",
"git.autorefresh": true,
"gitlens.views.repositories.autoRefresh": true,
"git.decorations.enabled": true,
"gitlens.advanced.messages": {
"suppressGitDisabledWarning": true
},
"workbench.statusBar.visible": true,
"editor.minimap.enabled": false,
"workbench.colorCustomizations": {//https://code.visualstudio.com/api/references/theme-color#side-bar
"editor.wordHighlightBackground":"#50f6f677",//修改选择相同代码后的颜色
"tab.activeBackground": "#574ff68c",//当前选项卡背景颜色
"tab.activeForeground": "#ffffff",
"tab.border": "#746b6b",
"tab.hoverBackground": "#03045d",
"tab.inactiveBackground": "#000000",
"tab.inactiveForeground": "#ffffff",
"editor.selectionHighlightBackground": "#44f1f15e",//选中高亮的背景色
"editor.selectionHighlightBorder": "#f3f3f3b6",//选中高亮的边框色
"editorWhitespace.foreground":"#49fff65e",
"terminal.background":"#000000",
"activityBar.background":"#000000",//最左边
"activityBar.foreground":"#ff5b5b",
"activityBar.border": "#009999",
"activityBar.inactiveForeground":"#00d0cf",
"editor.background":"#000000",//背景
"editor.findMatchBorder": "#009999",
"editor.rangeHighlightBorder": "#00aaaa",
"panel.background":"#202220",
"panel.border": "#009999",
"menu.background":"#000000",
"debugToolBar.background":"#000000",
"statusBar.background":"#000000",
"sideBar.background":"#000000",
"sideBar.foreground": "#eeeeee",
"sideBarTitle.foreground": "#ffff28",
"sideBar.border": "#008888",
"sideBarSectionHeader.border": "#008686",
"scrollbar.shadow": "#eeeeee",
"scrollbarSlider.background": "#0c81e088",
"scrollbarSlider.hoverBackground": "#0352b9",
"scrollbarSlider.activeBackground": "#000000",
"quickInput.background":"#582f00",
},
"C_Cpp.errorSquiggles": "Enabled",
"editor.maxTokenizationLineLength": 3000,
"html.hover.documentation": false,
"html.suggest.html5": true,
"C_Cpp.intelliSenseCacheSize": 5120,
"C_Cpp.intelliSenseMemoryLimit": 6200,
"C_Cpp.intelliSenseUpdateDelay": 1500,
"http.proxySupport": "off",
"C_Cpp.default.intelliSenseMode": "gcc-x64",
"editor.renderControlCharacters": true,
"workbench.colorTheme": "Default Dark+",
"gitlens.advanced.blame.sizeThresholdAfterEdit": 0,
"workbench.sideBar.location": "left",
"workbench.activityBar.visible": true,
"breadcrumbs.enabled": true,
"window.autoDetectHighContrast": false,
"window.closeWhenEmpty": false,
"window.title": "${dirty}${rootName}${separator}${activeEditorShort}",
"window.titleBarStyle": "custom",
"window.dialogStyle": "custom",
"editor.accessibilityPageSize": 15,
"editor.fastScrollSensitivity": 10,
"editor.hover.delay": 800,
"editor.lightbulb.enabled": false,
"editor.links": true,
"editor.matchBrackets": "near",
"editor.mouseWheelZoom": true,
"editor.scrollBeyondLastLine": false,
"editor.tabCompletion": "on",
"editor.wordWrapColumn": 300,
"editor.selectionHighlight": false,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
},
"task.quickOpen.skip": true,
"problems.showCurrentInStatus": true,
"C_Cpp.default.cppStandard": "gnu++14",
"C_Cpp.default.cStandard": "gnu11",
"C_Cpp.experimentalFeatures": "Enabled",
"debug.openDebug": "openOnSessionStart",
"debug.openExplorerOnEnd": true,
"debug.showBreakpointsInOverviewRuler": true,
"todo-tree.tree.showScanModeButton": false,
"git.ignoreLegacyWarning": true,
"gitlens.advanced.abbreviatedShaLength": 8,
"window.openFilesInNewWindow": "on",
"gitlens.hovers.currentLine.over": "line",
"gitlens.codeLens.enabled": false,
"gitlens.currentLine.format": "${author, }${' via 'pullRequest}${ • message|50?}",
"gitlens.views.branches.showBranchComparison": false,
"gitlens.views.branches.pullRequests.enabled": false,
}