Different theme per window in Visual Studio Code

Visual Studio-CodeVscode Settings

Visual Studio-Code Problem Overview


Is it possible to open 2 Visual Studio Code sessions with different themes? Maybe like this:

  • Window 1: light theme → live system
  • Window 2: dark theme → development system

Visual Studio-Code Solutions


Solution 1 - Visual Studio-Code

You can have a different theme per workspace/folder by adjusting the workbench.colorTheme in the workspace settings.

  1. Open a new VSCode window.
  2. Open the project folder where you would like to have a different color theme.
  3. Navigate to File > Preferences > Settings.
  4. Select the "Workspace Settings" tab at the top of the settings screen. Anything you edit in here will now be specific to this workspace.
  5. Search for "colorTheme" and select the color theme you would like for this specific workspace.

enter image description here

Now, whenever you reopen that folder, the color theme will match what you set in the workspace settings.

Solution 2 - Visual Studio-Code

Check out the Window Colors extension which: > Automatically adds a unique color to each window's activityBar and titleBar.

Solution 3 - Visual Studio-Code

Maybe : Peacock

> Subtly change the color of your Visual Studio Code workspace. Ideal when you have multiple VS Code instances, use VS Live Share, or use VS Code's Remote features, and you want to quickly identify your editor.

& This theme

Tokyo Hack

Solution 4 - Visual Studio-Code

In root folder, you can create a folder .vscode, then create a settings.json file.

Insert the follow setting in your settings.json file.

{
    "workbench.colorTheme": "Default Dark+"
}

Then you can set different theme according your project.

Solution 5 - Visual Studio-Code

found a way that works for me: install the VS Code Insiders as 2nd app of VS Code at https://code.visualstudio.com/insiders/

btw, setup the cmd codeinsiders in Macos, like:

ln -s "/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/bin/code" /usr/local/bin/codeinsiders

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser2470323View Question on Stackoverflow
Solution 1 - Visual Studio-CodeAlex MyersView Answer on Stackoverflow
Solution 2 - Visual Studio-CodeHeinrich FilterView Answer on Stackoverflow
Solution 3 - Visual Studio-CodeCristián Vargas AcevedoView Answer on Stackoverflow
Solution 4 - Visual Studio-CodecoderkkView Answer on Stackoverflow
Solution 5 - Visual Studio-CodeTim C.View Answer on Stackoverflow