Install the LOC plugin in vscode
Installed, press Ctrl+Shift+p
, and then enter the command LineCount
on it
At this time, an out folder will be generated under your project. There are two files under the folder, which record the number of lines of your code and other related details.
The above operation is based on statistical default settings, you can also vscode the setting.json
file, add its configuration information, detailed configuration, refer ** LOC
documentation ** plug-in.