Uniquely and automatically colors each VSCode window.
What it does
This extension gives each new VS Code window a unique color based on a hash of the root directory name when it is opened. It does this by immediately writing three colors to the following settings in
The extension deletes this file and folder each time the VS Code window is closed unless the colors have been modified or unless they contain any other settings.
You can optionally set a single Base Color (see Window Colors settings) by hex code or css color name.
Usage with Git
To avoid checking
Colors do not get overwritten. This allows you to set custom colors (or a single Base Color). To switch between light and dark themed colors, you must first delete the current colors from
Workspaces containing multiple root folders are not currently supported by this extension. The current behavior for multi-folder workspaces is that the workspace color settings will be set by the first window opened, and can be saved in the workspace's
When opening new VSCode windows, you might see the relevant theme colors change as they are updated to the new workspace. This is normal:
Workspace root folder detection function adapted from https://itnext.io/how-to-make-a-visual-studio-code-extension-77085dce7d82 by Van Huynh.