uctakeoff / vscode-counter

VS Code extension: counts blank lines, comment lines, and physical lines of source code in many programming languages.
MIT License
151 stars 20 forks source link
typescript vscode vscode-extension

VScode Counter

VS Code extension: counts blank lines, comment lines, and physical lines of source code in many programming languages.

This extension uses other language extensions to determine the line of code.Therefore, you may need to install the language extension to support a new language.

Conversely, as the number of language extensions increases, the range of support for this feature also increases.

Used in the wonderful extension CodeViz Stat!

CodeViz Stat allows you to see the results of your statistics in beautiful graphs.

Features

Usage

Count in workspace

Count in any directory

Real-time counter

Check available languages

Save language configurations

VSCode Counter is able to aggregate in unknown languages by referring to the information in the installed language extensions. However, I found out that this information is not available in Remote Development.

Therefore, VSCode Counter's ability of collecting VSCode language extensions is now called as an independent function. The idea is to collect the information once in the local environment and store it so that it can be used remotely.

You can also change the location where your configurations are stored. However, you must carry the stored information to the remote environment by yourself.

Extension Settings

Enjoy!