Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Advanced annotation tooltip #3

Open
marchof opened this issue Aug 27, 2012 · 0 comments
Open

Advanced annotation tooltip #3

marchof opened this issue Aug 27, 2012 · 0 comments

Comments

@marchof
Copy link
Member

marchof commented Aug 27, 2012

marchof

For every highlighted line the tooltip should show:

  • instructions coverage counter
  • branch coverage counter
  • full qualified method names contributing code to the line

brock_j

Just some random thoughts on this: If possible we don't want to pollute the existing annotation ruler as it will make it harder for the user to do basic things like setting breakpoints or navigating to super implementations. We also don't want to get in the way of the regular hovers within the text (javadoc and such)

We could possibly use an IPainter and LineBackgroundListener? to do the line coverage (green/yellow/red). If the colours are light enough it shouldn't distract the user too much, and they can be disabled if needed.

To support displaying the counters i think a new coverage ruler next to the existing annotation ruler would be the cleanest solution. There is less chance of it interrupting the users normal workflow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant