markis/vscode-code-coverage

Different way to display the covered/uncovered lines

ykoehler opened this issue · 2 comments

I would also like to get offers the possibility to display the line covered or not covered with different visual. For example, covered line could use a green background, non-covered a red one, conditions line with only partial condition tested a yellow one, etc.

rfunk commented

I'd love to see this too. It's what pilat/vscode-coverage-highlighter does/did, but that's no longer maintained.

That sounds very useful (note: neither this nor the vscode-coverage-highlighter had a "partial condition highlight" so far, did they?).

Until that is done you could try https://github.com/ryanluker/vscode-coverage-gutters (also has "call for maintainers"), but as this misses the coverage percentage you'd then need something like https://github.com/tenninebt/vscode-koverage.