Bug 496376

Summary: Add hyperlink on @Override to open overriden method
Product: [Eclipse Project] JDT Reporter: Mickael Istria <mistria>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: gautier.desaintmartinlacaze, noopur_gupta
Version: 4.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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.