Bug 563973 - Cannot navigate to super declaration if declaration has error
Summary: Cannot navigate to super declaration if declaration has error
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.16   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-05 05:00 EDT by Ed Willink CLA
Modified: 2022-07-16 15:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2020-06-05 05:00:03 EDT
JDT normally offers a green arrow on the left annotation bar to facilitate navigation to the super-declaration. Good.

But if the declaration has a typing error (e.g. @Nullable Object @NonNull [] overriding @Nullable Object @Nullable []) a problem annotation on the left annotation bar is also shown and effectively occludes the super navigation making it hard to navigate to and then correct the bad super-decalartion. (Different bug: the quick fixes for non-trivial @non-null signature fixes don't work.)

Suggest 1: Offer "Open Super-Declaration" in context menu

Suggest 2: prioritize arrow over problem in left annotation bar.

or add some kind of multi-problem toggling through options in left annotation bar.

Suggest 3: offset the green arrow upwards by half a line so that it is visible/selectable.

NB. There can be a similar occlusion problem with breakpoint markers, so some for of toggling / multi-visibility / selection is needed for other purposes..
Comment 1 Eclipse Genie CLA 2022-07-16 14:30:33 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Ed Willink CLA 2022-07-16 15:47:05 EDT
Can't be stale until triaged.