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

Suggestion: Configure "VSCodeCounter.outputDirectory" to outside of workspace #101

Closed doggy8088 closed 4 weeks ago

doggy8088 commented 4 months ago

By default, the VSCodeCounter.outputDirectory is .VSCodeCounter. I'd like to have an option that can point VSCodeCounter.outputDirectory to outside of workspace.

For example:

If I setup VSCodeCounter.outputDirectory to C:\TEMP\{workspaceName}, then the output will located at C:\TEMP\{workspaceName} folder which {workspaceName} is the name of the current workspace.

In case the workspaceName might be duplicate, the name might be able to give a hash of the path of the workspace. I don't really mind the path of the directory. All I need is the output result.

uctakeoff commented 1 month ago

@doggy8088 I tried to support it in v.3.5. Please try it out. The variable name is ${workspaceName}.