Bug 496376 - Add hyperlink on @Override to open overriden method
Summary: Add hyperlink on @Override to open overriden method
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-20 04:04 EDT by Mickael Istria CLA
Modified: 2016-06-28 09:01 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2016-06-20 04:04:49 EDT
When doing Ctrl+click on @Override, the current behavior is to open the Override class definition. It would be nice to also provide a link to "Open overriden method" on this annotation.
Comment 1 Noopur Gupta CLA 2016-06-28 08:57:23 EDT
You can already navigate to the overridden method in the following ways:
- Ctrl+hover on method name in overriding method declaration and select "Open Super Implementation".
- Click on the override indicator (the triangle on the marker bar located at the left of the editor area).
Comment 2 Mickael Istria CLA 2016-06-28 09:01:22 EDT
(In reply to Noopur Gupta from comment #1)
> You can already navigate to the overridden method in the following ways:
> - Ctrl+hover on method name in overriding method declaration and select
> "Open Super Implementation".
> - Click on the override indicator (the triangle on the marker bar located at
> the left of the editor area).

Ok, both are actually good. However, I can't tell why, but I usually Ctrl+Click on @Oeverride when I want to access parent definition. Not sure whether it's just me being strange, or if it's shared by an interesting proportion of Eclipse IDE users. So I can't tell whether adding the hyperlink there is worth it or not, it's more food for thoughts.