ryanluker / vscode-coverage-gutters

Display test coverage generated by lcov and xml - works with many languages
https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters
MIT License
460 stars 88 forks source link

Allow named workspace folders #297

Closed evan-bradley closed 3 years ago

evan-bradley commented 3 years ago

This PR fixes #252.

The change is to use the base name of the path for the workspace folder instead of the name, which defaults to the path's base name if a name hasn't been specified. I've tested that this works in my setup (VS Code 1.54.2 running on Linux), and have added unit tests to cover the cases where a name has or hasn't been specified.

ryanluker commented 3 years ago

@evan-bradley Going to merge this one into the mainline and the changes will go out with the next release (2.7.3) I left a few comments that are still outstanding but they were mainly questions for my own understanding.