question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Show Line Number Coverage

See original GitHub issue

This extension is great, though until now, I’ve had the glyph margin disabled to free up a bit more space (e.g. "editor.glyphMargin": false), which unfortunately conflicts with the “Show Gutter Coverage” option & the “Show Line Coverage” is a bit too distracting for me.

Is it possible/preferable to add a “Show Line Number Coverage” setting that would apply the line coverage background colors to the corresponding line numbers instead/in addition to the gutters?

Example Mockup: image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ryanlukercommented, Sep 8, 2019

For future reference, this ticket is related to https://github.com/ryanluker/vscode-coverage-gutters/issues/194 which also needs a code lens type solution.

1reaction
ryanlukercommented, Aug 25, 2019

@minifyre Based on my previous research there isn’t a way for me to interact with the colouring of the line numbers sadly, through the vscode extension api. Best we could do is maybe a left hand border of the same colour (sadly this doesn’t make space for itself so it overlaps). Screenshot from 2019-08-25 09-35-42

I will ask the vscode extension developer channel to see if anyone else has some insight for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use coverage.py to display line numbers of function ...
I want to measure the functional coverage of python programs. Reporting the line numbers of the function def lines.
Read more >
Read the coverage report | IntelliJ IDEA Documentation
You can see the coverage result for classes, methods, and lines. Branch coverage shows the percentage of the executed branches in the source ......
Read more >
Coverage.py — Coverage.py 7.0.1 documentation
Coverage.py is a tool for measuring code coverage of Python programs. ... It can show which parts of your code are being exercised...
Read more >
Code coverage testing - Visual Studio (Windows)
On the Test menu, select Analyze Code Coverage for All Tests. · After the tests have run, to see which lines have been...
Read more >
How to interpret the results | Code Coverage | 1.0.1
This section shows a brief summary of the coverage results including the number of assemblies, classes, files and lines that were processed.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found