Statistics for workspaces

workspace

#1

Is it possible to add a feature that allows one to see the total number of lines of code in a workspace?
Maby add this to the dropdown menu inside of a workspace the CPU usage is displayed.


#2

There’s actually a very easy way to achieve this without any sort of plugin. Just go into the terminal and run this command in the directory you want to recursively search through: find . -name '*.js' | xargs wc -l. Of course replace .js with whatever file type you want to search through. This will recursively look through files and count the lines, displaying the total count as well as a breakdown of lines in each file.