Transform your VS Code Explorer into a powerful file health dashboard. Instantly identify bloated files, complex logic, and recent code growth without leaving your file tree.
🔥 Why Use This?
Stop "Monster" Files: Spot oversized files immediately with heatmap coloring.
Identify Technical Debt: Complexity icons point you toward code that needs refactoring.
Track Your Progress: Real-time Git deltas show exactly how many lines you've added or removed since your last commit.
Zero Friction: High-performance caching ensures your workspace stays lightning-fast.
✨ Key Features
1. � Instant Inline Metrics
See line counts right next to filenames.
Heatmap Colors: Filenames change color based on scale (Red for huge, Orange for medium, Green for small).
Complexity Alerts: ⚠ (Medium) and 🔴 (High) icons appear for files with complex logic (nested loops, many conditionals).
Git Delta: See changes like (+12) or (-3) relative to your last Git commit.
2. 📊 Professional Analytics
Get a "birds-eye view" of your entire project.
Activity Bar View: Access quick stats and top 10 largest files directly from the side panel.
Dashboard: Run File Length: Show Analytics Dashboard for an interactive full-screen experience:
Project Summary: Total files, lines, and code/comment density.
Top 10 Largest Files: Your project's "heavyweights" listed in order.
Line Distribution: A bar chart showing the scale of your codebase.
Ratio Analysis: A pie chart breaking down Code vs. Comments vs. Blank lines.
3. 🚀 Built for Scale
Smart LRU Cache: Results are cached and only recomputed when files actually change.
Lazy Loading: Only processes what you see in the Explorer; handles monorepos with ease.
Throttled Updates: Efficient processing ensures no impact on typing speed.
📖 How to Use
View Metrics: Open the Explorer (Ctrl+Shift+E). Metrics appear automatically next to filenames.
Open Dashboard: Press Ctrl+Shift+P and search for "File Length: Show Analytics Dashboard".
Deep Dive: Hover over any line count to see a detailed tooltip including:
Absolute line count.
Exact complexity score.
Git status relative to HEAD.
⚙️ Customization
Customize exactly how you count lines in VS Code Settings (Ctrl + ,):