Context Colorizer
A native, surgical development utility designed to eliminate cognitive friction in massive codebases. Structures folder trees through an intelligent hierarchical cascade engine built directly into the editor's core.
Native FileDecorationProvider Integration
Unlike intrusive workarounds that modify editor views through external CSS injections, Context Colorizer integrates natively into the VS Code renderer pipeline. The extension hooks directly into the FileDecoration API, applying vector glyphs and ThemeColors that dynamically adapt to the user's active theme contrast and rules.
O(Depth) Upward Tree Traversal
Hierarchical color mapping completely bypasses expensive linear state lookups. Using a reverse traversal algorithm (`path.dirname`), the engine climbs toward the workspace root only when local folder specificity is absent, saving CPU cycles even in directories housing tens of thousands of deeply nested files.
Isolated Workspace Storage & State
Configurations are safely sandboxed within VS Code's `workspaceState` storage layer, preventing global cache pollution. Additionally, a real-time recursive path observer (`onDidRenameFiles`) intercepts file operations to seamlessly migrate tracking keys without data loss.