File Size Explorer
See file sizes directly in VS Code. Find bloated files, track large assets, and keep your project lean.
Features
- Status Bar Size: Current file size shown in the status bar
- Largest Files Tree: Browse the 50 largest files in your workspace from the activity bar
- Color-Coded Warnings: Yellow for files > 500KB, red for files > 2MB (customizable)
- One-Click Open: Click any file in the tree to open it
- Zero Config: Works out of the box, no setup needed
Settings
{
"fileSizeExplorer.warningThresholdKB": 500,
"fileSizeExplorer.dangerThresholdKB": 2000,
"fileSizeExplorer.showInStatusBar": true
}
Commands
File Size: Show Largest Files - Open the largest files tree view
File Size: Refresh - Refresh file size data
Use Cases
- Find large files slowing down your build
- Identify oversized images or assets
- Monitor bundle size during development
- Clean up bloated dependencies
License
MIT
| |