Community
Participate
Working Groups
Eclipse should have an option to display indicators in the left hand margin of a Java editor which show various things. Clicking on the icon should take you to the code or if more than one item is relevant then a popup menu should appear with a list of relevant locations. Indicators for the following should be added as they are a boon to navigating around: Extends, Implements, Overrides
Transferring to the JDT-ui team as this is to do with the Java Editor.
This is all there: - the little triangle take you to the super method or to the definition in the interface - you can press Ctrl+T with the cursor on a method name. This will open a quick hierarchy which lets you navigate to the sub classes which implement the method Pressing Ctrl+T again shows all super classes & interfaces which define the method
No it isn't 'all there', that's why I am making this enhancement request. I am suggesting adding the equivalent of the triangles in the Left Hand vertical indicator to navigate from an interface or class to the implementing/extending classes (i.e. going from the opposite way to the triangles) which as you say are already available. A small icon is shown against the class declaration line. Clicking on it takes you to the implementing/ extending class or shows a popup menu of choices if there is more than one. Your second point is simply a second way to do the same thing and is an alternative to the navigate up triangles you mention. having multiple ways to do the same task is what helps to make an app easier to use as it accommodates people's different ways of working. Using the Ctrl-T method for example means using the keyboard and if you are using the mouse then it slows you down. (In reply to comment #2) > This is all there: > > - the little triangle take you to the super method or to the definition in the > interface > > - you can press Ctrl+T with the cursor on a method name. This will open a quick > hierarchy which lets you navigate to the sub classes which implement the method > Pressing Ctrl+T again shows all super classes & interfaces which define the > method > >
*** Bug 176273 has been marked as a duplicate of this bug. ***
There is an additional reason for a left bar indicator. Often I don't actually want to navigate to the overriding/implementing methods but I simply want to see at once that there are overriding/implementing methods at all. This holds for the Outline View as well, so this is not only an Editor request from my perspective.
> This holds >for the Outline View as well, so this is not only an Editor request from my >perspective. The outline page belongs to the editor.
Cool. Then it should be covered by this request ;-)