Bug 47613 - [misc] Ability to see super method implementations inline in java editor
Summary: [misc] Ability to see super method implementations inline in java editor
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows NT
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2003-11-27 05:53 EST by Roland Tepp CLA
Modified: 2004-01-19 08:08 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Tepp CLA 2003-11-27 05:53:23 EST
Sometimes when reading/changing nonfamiliar code, where the heavy use of
inheritance and method overriding has been used, the understanding of why things
work the way they do, constant switching/jumping between various editor windows
is required.  

Quite quickly it can get rather confusing with all the navigation that is going
on through scores of tabs that are squeezed together so tightly, that the class
names are reduced to couple of letters per tab....

What if it was possible to see implementations of inherited (and not overriden)
methods right there within the code of the subclass itself, as though they were
part of the class's own definition (which they ceartainly are in some sense)?

These inline views of the super implementations should of course be visually
clearly distinguished (the sort of highlighting as with the file compare has,
would be nice).

This is just a raw idea and I believe it could be further detailed and improved,
but for now I leave it at that in case this bug will be rejected...
Comment 1 Dani Megert CLA 2004-01-06 08:56:54 EST
Sounds worth to be investigated.
Just to be sure, do you know about
- Navigate > "Open Super Implementation"?
- the fact that you can select the method declaration and press Ctrl+T?
Comment 2 Roland Tepp CLA 2004-01-07 03:33:09 EST
Yes - I'm aware of this and I'm using it now, but the downside of this is that
the workbench soon becomes overcrowded by swarm of editors and the navigation
becomes hell on earth...

This feature should of course be optional and off by default (for I assume it is
rather costly behavior).

(btw: the list of currently available keyboard shortcuts in a more easily
readable form would be helpful, but that would be another bug, I suppose)
Comment 3 Dani Megert CLA 2004-01-07 03:43:05 EST
>(btw: the list of currently available keyboard shortcuts in a more easily
>readable form would be helpful, but that would be another bug, I suppose)
Correct :-)