Git Exclude File Decorator
A VS Code extension that decorates files listed in .git/info/exclude with visual markers.
Features
- Reads ignore patterns from
.git/info/exclude
- Decorates matching files with:
- Gray color (using VS Code's ignored resource theme color)
- "E" badge indicator
- Tooltip explaining the file is locally excluded
- Auto-refreshes when
.git/info/exclude is modified
- Manual refresh command available
Usage
Add patterns to your .git/info/exclude file:
.kiro
*.log
temp/
Files matching these patterns will be decorated in the file explorer
Use the command "Refresh Exclude Decorations" to manually refresh
Commands
Refresh Exclude Decorations - Reload patterns and refresh all decorations
Development
# Install dependencies
npm install
# Compile
npm run compile
# Watch mode
npm run watch
Testing
Press F5 in VS Code to launch the extension in a new Extension Development Host window.
| |