Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Line Counter Dashboard - Code StatisticsNew to Visual Studio Code? Get it now.
Line Counter Dashboard - Code Statistics

Line Counter Dashboard - Code Statistics

miccho27

| (0) | Free
Display file and project line counts in the status bar. Language-specific statistics, workspace-wide code summary with blank/comment/code line breakdown. Tree view sidebar for detailed stats.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Line Counter Dashboard

Display file and project line counts with language-specific statistics. See your codebase size at a glance.

VS Code Marketplace Installs License: MIT

Features

  • Status bar line count — current file's line count always visible
  • Workspace scanning — count all lines across your entire project
  • Language breakdown — see lines per language with percentage
  • Code/Comment/Blank classification — understand your code composition
  • Sidebar tree view — dedicated panel in the activity bar
  • Configurable exclusions — skip node_modules, dist, build, etc.

Usage

Status Bar

The current file's line count appears in the bottom-right status bar. Click it to open the full workspace summary.

Sidebar

Open the "Line Counter" panel in the activity bar to see statistics organized by language.

Commands

  • Line Counter: Show Line Count Summary — scan workspace and display full report
  • Line Counter: Refresh Line Counts — refresh the sidebar statistics

Example Output

Workspace Summary: 45,230 total lines in 312 files
  Code: 32,100 | Comment: 5,430 | Blank: 7,700

By Language:
  TypeScript: 18,500 lines (95 files, 40.9%)
  Python: 12,300 lines (78 files, 27.2%)
  JavaScript: 5,200 lines (45 files, 11.5%)
  JSON: 3,800 lines (42 files, 8.4%)
  CSS: 2,100 lines (18 files, 4.6%)
  Markdown: 1,830 lines (22 files, 4.0%)
  Shell: 1,500 lines (12 files, 3.3%)

Settings

Setting Default Description
lineCounterDashboard.excludePatterns ["**/node_modules/**", ...] Glob patterns to exclude
lineCounterDashboard.includePatterns ["**/*.{js,ts,...}"] Glob patterns to include
lineCounterDashboard.showInStatusBar true Show line count in status bar

Default Exclusions

node_modules, .git, dist, build, .next, coverage, __pycache__, vendor, *.min.js, *.min.css

Supported Languages

JavaScript, TypeScript, Python, Go, Rust, Java, C, C++, C#, Ruby, PHP, Swift, Kotlin, Scala, Lua, SQL, HTML, CSS, SCSS, Less, YAML, JSON, Markdown, Shell, Batch, PowerShell, Dart, R, Perl, Elixir, Haskell, Clojure

License

MIT

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