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

CSV could be more strictly formed #25

Closed GregoryToldhurst closed 4 years ago

GregoryToldhurst commented 4 years ago

My project has a lot of files with commas in the names.

eg xml files that are used for test cases if the test case is "TestStatusForType(1,2,3)" then there will be a file "TestStatusForType(1,2,3)_expectedresult.xml"

This causes a problem because the commas are not in synch with the expected output in CSV format

The result would be better if the filename is always wrapped in double quotes for CSV output (but possibly you would need to also remove/escape quotes that are embedded in the filename :) )

uctakeoff commented 4 years ago

Fixed in ver. 1.3.5. Please try it out.