Reputation: 50229
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.
Upvotes: 18
Views: 6857
Reputation: 50229
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:
Then add the following setting and save:
{
"workbench.colorTheme": "<your theme of choice>"
}
Or if you're using the settings editor:
There is currently no way to do this all at once for all remotes, it must be configured per machine.
Upvotes: 26
Reputation: 1675
I'm not sure if the top answer is applicable anymore, however this approach works.
Settings -> Workbench -> Appearance
User
, and Workspace
Remote [<server_name>]
if you are connected to your code via ssh
User
means global default settings for vscodeRemote
overrides global and takes effect to all specified remote sessionsWorkspace
takes highest precedence, and modifies only the settings for the current folder.Upvotes: 2
Reputation: 5803
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.
Upvotes: 1