-
Notifications
You must be signed in to change notification settings - Fork 11.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[llvm-cov] Coverage report HTML UI to jump between uncovered parts of code #95662
Conversation
Motivation: I recently was writing tests for uncovered code in a long file and I spend a lot of time scrolling and looking for missing uncovered lines inside instantiation (to which the link "jump to first uncovered line" didn't even work. |
Screenshot before: Screenshot after: |
e091967
to
2b88afe
Compare
e1099d9
to
67b1ec3
Compare
Cool! I tested in Firefox, Safari, and Chrome and the feature works in all 3. |
Could we split out |
Oh, I wish we could just #embed it :) |
@hanickadot Meant, on the source tree. |
67b1ec3
to
62afaa0
Compare
✅ With the latest revision this PR passed the C/C++ code formatter. |
e63ac16
to
e2b3815
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok-maru-suisan, thanks! @hanickadot
…y navigate between uncovered parts of code
e2b3815
to
e31b36a
Compare
I replaced "jump to first uncovered line" with UI buttons and keyboard shortcut to jump between uncovered parts of code: lines (key L), branchs (key B), regions (key R).
User can also jump in reverse direction with shift+key.