Colors! Extension
Add colors to your VS Code Windows, Workspaces and git worktrees!
A smaller and better open-source alternative to Window Colors and Peacock extensions:

- Deterministic Color Assignment: Automatically assigns a color accent to each workspace based on its URI.
- Intelligent Path Recognition: Recognizes path suffixes to assign specific colors. For instance,
git worktree directories like main and test will have distinct color accents.
Quick start:
- After the installation, the deterministic color accent should just appear on each open workspace.
- To override the color accent, run the
Accentuate: Pick a workspace color accent command.
Frequently Asked Questions
My .vscode/settings.json file is getting modified all the time
VS Code stores per-window color settings either in the workspace setting file (i.e. my_workspace.code-workspace) or directly in the folder (i.e. my_folder/.vscode/settings.json).
If the my_folder/.vscode/settings.json file is tracked by a version control system (i.e. git), it's better to save the workspace File > Save Workspace As... outside of my_folder, i.e.:
my_workspace.code-workspace
my_folder/
.git
.vscode/
settings.json
src/
[...]
Note, the file my_workspace.code-workspace should not be tracked and should be outside of the project folder (or added to the .gitignore file).
Now, opening my_workspace.code-workspace, all the color preferences will be stored there, and any .vscode/settings.json color settings will be ignored.
My .code-workspace file is getting modified all the time
Save your workspace locally under another name, outside of the tracked folders (or add it to gitignore).
See the question above for more details.
Features
- It just works: by default, deterministically selects an accent color based on the workspace URI. The extension takes into account the workspace suffix (i.e.
my-workspace-red) or uses the full URI to deterministically calculate the workspace color.
- It's customizable: the extension allows to easily override the selection by using
Accentuate: Pick a workspace color accent command.
- It's even more customizable: easily pick your favorite accent color using
Accentuate: Pick a workspace color accent > Custom
Extension Settings
This extension contributes the following settings:
accentuate.color: Current workspace color accent (default: auto).
Release Notes
0.2.0
Initial release of Accentuate.