Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vsclocNew to Visual Studio Code? Get it now.
vscloc

vscloc

vdimir

|
65 installs
| (0) | Free
Display number of loc in ststus bar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscloc

Count Lines of Code with cloc tool.

Requirements

Install cloc.

Extension Settings

  • vscloc.format: format string shown in status bar.

    • %t - total number of lines in file
    • %s - source code
    • %b - blank lines
    • %c - comments
  • vscloc.cmd: command to run cloc. %f substituted with current file path

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