Live File ColorsColor tracked file names as soon as you edit them, before saving — in editor tabs and Explorer. This extension adds the missing unsaved state to VS Code's native Git decorations. Tracked files without an existing Git status become blue while their document has unsaved changes. Existing statuses for added, untracked, renamed, modified, ignored and conflicted files remain managed by VS Code's Git extension. Try locallyInstall the VSIX, open a Git repository and edit a tracked, unchanged text file. Its name turns blue without saving. Restore the original text, either by Undo or by editing it back manually, and the overlay disappears even if VS Code still marks the document as unsaved. After saving, native Git colors apply. If Auto Save is enabled, the unsaved state lasts until the next automatic save. Settings
VS Code problem decorations may take precedence over file colors. To prefer Git/unsaved colors on file names, set Scope and privacyUses the public File Decoration and built-in Git APIs. Supports tracked file-backed text documents in Git repositories. Untitled, ignored, untracked and virtual documents receive no extra overlay. Parent folders inherit the unsaved decoration. The extension never saves, stages, commits, changes Git configuration or edits VS Code files. It has no telemetry or network requests. The extension reads the HEAD document through VS Code’s built-in Git provider and caches its text until the repository changes. It compares that text with the current buffer, without saving. CRLF and LF line endings are treated as equivalent. The live comparison applies to files without an existing Git status. For a file already marked modified by Git, the native Git decoration remains authoritative until the file is saved and Git refreshes. Development
MIT license. InstallationInstall Live File Colors by Toximiner from the VS Code Extensions view, or run:
Visual Studio Marketplace · GitHub releases and VSIX downloads If installing a downloaded VSIX, use Extensions: Install from VSIX…. Reload VS Code if a newly installed extension has not activated yet. ReleasesGitHub Actions validates and packages every main-branch change and pull request. A matching version tag, such as The host integration test in |