Nameplate
A free VS Code extension that puts the project's name in the status bar and gives every window a color of its own, so a row of identical windows stops being identical.
Problem statement: with several projects open, every VS Code window looks the same, which is how a command runs in the wrong terminal or a commit goes to the wrong repository.
- Finds a name without asking: the folder unless it's generic (
app,src,frontend), then manifests such aspackage.json, Expo'sapp.jsonorpyproject.toml, then the Git remote, keeping any deliberate capitals. - Derives the color from the Git remote, so a repository looks the same on every machine, from eleven colors designed in OKLCH to look unlike each other, with text that always clears WCAG AA.
- Keeps open windows apart: colors are compared by how they look, as OKLab distance, and windows that start at the same moment take turns through a small locked file, so each gets its own.
- Keeps the colors out of Git. A settings file it creates goes in
.git/info/exclude; a committed one gets a local clean filter that hides Nameplate's lines fromgit status,git diffand every commit.