Minimal VS Code extension for project awareness: project size, guided size breakdown, LOC per language, selection line counter, and a terminal shortcut — all from the status bar.
Demo
Quickstart
Open a folder or workspace.
Click the metrics item in the status bar to open the Metrics Panel.
Status Bar
Item
Behavior
Terminal button
Opens the integrated terminal. Can be hidden via settings.
Metrics
Shows total project size. Click to open the Metrics Panel.
Refresh / Cancel
Refreshes the scan on click. Animates while scanning; click again to cancel.
Selection line count
Shows the number of selected lines. Visible only while selecting text. Can be hidden via settings.
Metrics Panel
LOC — lines of code per language (comments excluded), with top files; auto-scans on panel open
Size — total project size with a breakdown of the folders that contribute most to disk usage
Configuration
All settings are optional. Configurable via termetrix.* in VS Code settings.
termetrix.statusBar.showTerminalButton — show/hide the terminal button (default: true)
termetrix.statusBar.showSelectionLineCount — show/hide the line counter (default: true)