8

Using VS Code Remote Development (SSH, container, WSL) I want a different theme on my remote and local VS Code windows so that I can easily tell them apart.

Daniel Imms
  • 47,944
  • 19
  • 150
  • 166

2 Answers2

14

You can set your theme in remote settings to use a different theme for that specific remote, open up the command palette (F1) and run the "Open Remote Settings" command:

enter image description here

Then add the following setting and save:

{
    "workbench.colorTheme": "<your theme of choice>"
}

enter image description here


There is currently no way to do this all at once for all remotes, it must be configured per machine.

Daniel Imms
  • 47,944
  • 19
  • 150
  • 166
  • 1
    This option doesn't seem to exist anymore Version: 1.74.3 (system setup) Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534 Date: 2023-01-09T16:59:02.252Z Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Windows_NT x64 10.0.19044 Sandboxed: No – user1323995 Jan 19 '23 at 10:28
0

Alternatively to @DanielImms' answer, you can add the same setting to your .vscode/settings.json or your .code-workspace file to select a different color scheme for each (remote) folder or workspace.

bers
  • 4,817
  • 2
  • 40
  • 59