Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>VSLineCounterNew to Visual Studio Code? Get it now.
VSLineCounter

VSLineCounter

SamSeen

|
1 install
| (0) | Free
Instantly view line counts for files in the VS Code Explorer tree.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSLineCounter

Version Installs License

Instantly visualize the size of your files directly in the VS Code Explorer.

VSLineCounter adds a subtle, non-intrusive line count badge to your file explorer icons. Identify massive files, empty modules, and complex logic at a glance without ever opening the file.

VSLineCounter Preview (Above: Line counts updating in real-time as files are saved)

✨ Features

  • Native Integration: Uses VS Code's native File Decoration API for a seamless look.
  • Performance First: Zero lag. Line counts are calculated efficiently and only when needed.
  • Smart Formatting: Large numbers are abbreviated (e.g., 1200 becomes 1.2k) to keep your interface clean.
  • Real-time Updates: Badges update instantly when you save a file.

🚀 How to Use

  1. Install the extension.
  2. Open any folder or workspace.
  3. The line count will automatically appear to the right of supported file types in the Explorer.

⚙️ Extension Settings

VSLineCounter is designed to work out of the box, but you can customize it to fit your workflow:

Setting Default Description
vsLineCounter.enable true Enable/Disable the line count badges globally.
vsLineCounter.badgeColor charts.blue Change the color of the badge (uses Theme Colors).
vsLineCounter.ignorePatterns ["dist", "node_modules", ".git"] Array of folder names to ignore for performance.

🔧 Known Issues

  • Files larger than 50MB are skipped by default to preserve performance.
  • Line counts may not appear immediately for folder structures with over 10,000 files until explicitly expanded.

📅 Release Notes

1.0.0

  • Initial release of VSLineCounter.
  • Added support for .js, .ts, .py, and .css files.
  • Implemented k formatting for numbers over 1000.

☕ Support

If you find my projects useful or want to support my work:

  • ⭐ Star the repositories
  • ☕ Buy me a coffee

Created with ❤️ by SamSeen

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft