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
464 stars 90 forks source link

Display Coverage by default #452

Open cshaa opened 2 months ago

cshaa commented 2 months ago

I have a repo for a library library where I want to have quite strict standards for code coverage. I want to automatically show coverage gutters next to all files that have a coverage report. However, right now I have to manually run the command "Coverage Gutters: Display Coverage" for every file I open. I have coverage-gutters.showGutterCoverage set to true.

ryanluker commented 2 months ago

@m93a Thanks for the ticket! You should be able to use the "watch" mode which will auto display the coverage each time you open a file (if there is any). The watch action can be activated via the icon in the bottom action bar or via the command palette.

twelvelabs commented 3 weeks ago

FYI: I've posted an option for how you can enable watch mode automatically here: https://github.com/ryanluker/vscode-coverage-gutters/issues/236#issuecomment-2397505737