Skip to main content
Clarified what happens when the `Open Workspace Settings (JSON)` command is triggered if a workspace is not defined for the project.
Source Link

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

Menu ViewCommand 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 Visual Studio Code open and want to visually differentiate each window without having to change the global theme.

2022 Update:

If you do not have a Workspace defined, Visual Studio Code now opens settings directlywill open .vscode/settings.json on command "Open Workspace Settings (JSON)".

YouIf this is the case, you can just enter the workbench customizations directly:

{
   "workbench.colorCustomizations": {
        "statusBar.background": "#938e04",
        "statusBar.foreground": "#ffffff"
    }
}

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

Menu ViewCommand 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 Visual Studio Code open and want to visually differentiate each window without having to change the global theme.

2022 Update:

Visual Studio Code now opens settings directly on command "Open Workspace Settings (JSON)".

You can just enter the workbench customizations directly:

{
   "workbench.colorCustomizations": {
        "statusBar.background": "#938e04",
        "statusBar.foreground": "#ffffff"
    }
}

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

Menu ViewCommand 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 Visual Studio Code open and want to visually differentiate each window without having to change the global theme.

If you do not have a Workspace defined, Visual Studio Code will open .vscode/settings.json on command "Open Workspace Settings (JSON)".

If this is the case, you can just enter the workbench customizations directly:

{
   "workbench.colorCustomizations": {
        "statusBar.background": "#938e04",
        "statusBar.foreground": "#ffffff"
    }
}
Update answer based on changes in Visual Studio Code updated behavior.
Source Link

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

Menu ViewCommand 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 Visual Studio Code open and want to visually differentiate each window without having to change the global theme.

2022 Update:

Visual Studio Code now opens settings directly on command "Open Workspace Settings (JSON)".

You can just enter the workbench customizations directly:

{
   "workbench.colorCustomizations": {
        "statusBar.background": "#938e04",
        "statusBar.foreground": "#ffffff"
    }
}

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

Menu ViewCommand 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 Visual Studio Code open and want to visually differentiate each window without having to change the global theme.

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

Menu ViewCommand 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 Visual Studio Code open and want to visually differentiate each window without having to change the global theme.

2022 Update:

Visual Studio Code now opens settings directly on command "Open Workspace Settings (JSON)".

You can just enter the workbench customizations directly:

{
   "workbench.colorCustomizations": {
        "statusBar.background": "#938e04",
        "statusBar.foreground": "#ffffff"
    }
}
Active reading [<https://en.wikipedia.org/wiki/Visual_Studio_Code>]. Applied some formatting (as a result the diff looks more extensive than it really is - use view "side-by-side Markdown" to compare)
Source Link
Peter Mortensen
  • 31.2k
  • 22
  • 110
  • 134

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

View | Command Palette... | SearchMenu ViewCommand 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 VSVisual Studio Code open and want to visually differentiate each window without having to change the global theme.

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.

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

Menu ViewCommand 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 Visual Studio Code open and want to visually differentiate each window without having to change the global theme.

Source Link
Loading