VSCode草绿色背景设置+个性化设置

{
    "workbench.startupEditor": "welcomePage",
    "editor.fontSize": 18,
    "files.exclude": {
        "**/.vs": true,
        "**/.vscode": true,
        "**/*.meta": true,
        "**/*.csproj": true,
        "**/*.sln": true,
        "**/*.bat": true,
        "**/*.userprefs": true,
    },
    "files.associations": {
        "*.json": "jsonc"
    }, //工作台主题颜色
    "typescript.updateImportsOnFileMove.enabled": "always",
    "editor.formatOnSave": false, // 开启 vscode 文件路径导航
    "window.enableMenuBarMnemonics": false,
    "workbench.colorTheme": "Visual Studio Light",
    "workbench.colorCustomizations": { // 颜色设置
        "editor.background": "#d3f7d9",
        "terminal.background": "#EAEAEF",
        "activityBar.foreground": "#01cd78", //活动栏前景色,图标颜色
        "editorBracketMatch.background": "#e4393c", //匹配括号的背景色
        "terminal.foreground": "#01cd78",
        "titleBar.activeBackground": "#000", //活动窗口标题栏背景色
        "titleBar.activeForeground": "#01cd78", //活动窗口标题栏前景色
        "titleBar.border": "#01cd78", //标题栏边框
        "titleBar.inactiveBackground": "#000d78", //非活动窗口标题栏背景色
        "titleBar.inactiveForeground": "#01cd78", //非活动窗口标题栏前景色
        "menubar.selectionBackground": "#4e5172", //菜单栏中选定菜单项的背景色
        "menubar.selectionBorder": "#e21d2d", //菜单栏中所选菜单项的虚线边框颜色
        "window.activeBorder": "#ff0000",//VScode编辑器边框颜色
        "breadcrumb.foreground": "#072bf6",
        "editor.lineHighlightBorder": "#f12a0f", //光标所在行边框颜色
        // 激活选项卡 前景色
        "tab.activeBackground": "#f1a257",//活动选项卡背景色
        "editor.selectionHighlightBackground": "#01cd78", //与所选内容具有相同内容的区域颜色
        "menu.foreground": "#ff0000",
        "activityBar.background": "#50636e",//活动栏背景色
        "list.hoverBackground": "#c7ca9c",//鼠标移动时,焦点所在项的背景色
        "editorGroupHeader.tabsBorder": "#ff0000",
        "editorGroupHeader.border": "#ff0000",
        "editorOverviewRuler.selectionHighlightForeground": "#ff0000",
        "editorOverviewRuler.wordHighlightForeground": "#ff0000",
        "editorOverviewRuler.warningForeground": "#3308f3",
    },
    // 函数名等颜色
    "editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "",
                "settings": {
                    "foreground": "#FF0000",
                    "fontStyle": "bold"
                }
            },
        ], //规则与样式
        "functions": "#e4393c", //函数颜色
        // "strings": "#e99e2d", //字符串颜色
        "keywords": "#da2ab3", //关键字颜色
        // "types": "#FF0000", //类型定义颜色
        // "variables": "#FF0000", //变量颜色
        "numbers": "#FF0000", //数字颜色
        "comments": "#038b3e", //注释颜色
    },
    "editor.minimap.enabled": false,
    "explorer.autoReveal": "focusNoScroll",
    "editor.codeLens": false,
    "workbench.iconTheme": "vscode-icons",//需要安装vscode-icons插件
    "window.zoomLevel": 2,
    "editor.mouseWheelZoom": true,
    "terminal.integrated.tabs.enabled": false,
    "editor.semanticHighlighting.enabled": true,
    "vsicons.dontShowNewVersionMessage": true,
}

VSCode草绿色背景设置+个性化设置_第1张图片

 最终的效果大概是这个样子,相比系统的样式,这样的配置赏心悦目得多。

推荐一个超详细的VSCode自定义链接,应该所有可见的不可见的、能想到的不能想到的设置都可以在这里找到。

https://blog.csdn.net/dscn15848078969/article/details/107578108

你可能感兴趣的:(VSCode,vscode,VSCode护眼色,VSCode个性化设置)