Bug 103102 - [navigation] Option to show extends/implements indicators in the editor left margin
Summary: [navigation] Option to show extends/implements indicators in the editor left ...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P4 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 176273 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-07 19:12 EDT by Timothy Mowlem CLA
Modified: 2007-03-12 12:36 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 Timothy Mowlem CLA 2005-07-07 19:12:53 EDT
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
Comment 1 Helen Beeken CLA 2005-07-08 03:27:08 EDT
Transferring to the JDT-ui team as this is to do with the Java Editor.
Comment 2 Dirk Baeumer CLA 2005-07-08 09:06:55 EDT
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

Comment 3 Timothy Mowlem CLA 2005-07-08 15:48:05 EDT
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
> 
> 

Comment 4 Markus Friedli CLA 2007-03-12 02:40:50 EDT
*** Bug 176273 has been marked as a duplicate of this bug. ***
Comment 5 Eike Stepper CLA 2007-03-12 03:31:11 EDT
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.
Comment 6 Dani Megert CLA 2007-03-12 06:36:49 EDT
> 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.
Comment 7 Eike Stepper CLA 2007-03-12 12:36:43 EDT
Cool. Then it should be covered by this request ;-)