uctakeoff / vscode-counter

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

Count lines in workspace does not work #40

Open BryanHunt opened 4 years ago

BryanHunt commented 4 years ago

When I select Count lines in workspace, it prompts for a folder selection and if you select a folder, it only counts lines in that folder. I would think it should not prompt for anything and just iterate over all folders in the workspace.

uctakeoff commented 4 years ago

It is supposed to be so. Isn't it the "count lines in directory" command you tried?

BryanHunt commented 4 years ago

Both count lines in directory and count lines in workspace ask for a folder.

iqapps commented 3 years ago

I concur. In addition to this I can say that the Count lines in workspace" can be run with a '*' in the input box, thus showing both folders as included, but still the count only takes the actually marked directory from the list as the source for the count. Also in the report summary at the top it says - directory: bla/bla/bla, indicating to me, it is not counting as a workspace.

uctakeoff commented 3 years ago

@iqapps In my environment, no such problem occurs. It seems to be a problem that occurs in certain environments. If you do not have the latest versions of VSCode and VSCodeCounter, please update them. Also, please let us know your OS and language settings if you like.