Visual Studio Code status bar color

后端 未结 9 2268
长发绾君心
长发绾君心 2021-01-29 19:52

Visual Studio Code\'s default status bar color is blue and I find it quite distracting. I used this extension to change the color but it has stopped working after the 1.10

9条回答
  •  遇见更好的自我
    2021-01-29 20:30

    These are the steps I took to set the VS Code status bar colors on macOS for a workspace (not globally).

    View | Command Palette... | Search for "Open Workspace Settings (JSON)"

    (This will open the project [project-name].code-workspace file.)

    Add the color customizations in the settings property.

    {
        "folders": [],
        "settings": {
            "workbench.colorCustomizations": {
                "statusBar.background": "#938e04",
                "statusBar.foreground": "#ffffff"
            }
        }
    }
    

    This is really useful when you have multiple instances of VS Code open and want to visually differentiate each window without having to change the global theme.

提交回复
热议问题