eclemma icon indicating copy to clipboard operation
eclemma copied to clipboard

Advanced annotation tooltip

Open marchof opened this issue 13 years ago • 0 comments

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.

marchof avatar Aug 27 '12 19:08 marchof