Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In eclipse, how to display inherited members in Outline view?

Tags:

java

eclipse

ide

Typing Ctrl+O twice in editor when a java type is selected pops-up an outline context dialog that displays the members && inherited members. How can I have this in the main outline view?

like image 872
jumar Avatar asked Sep 19 '08 13:09

jumar


People also ask

How to see outline of class in Eclipse?

To manually open the view, go to Window | Show View | Other | PHP Tools | Outline.


2 Answers

right click -> Open Type Hierarchy?

It does not show it in the same pane but I think you can see what you're looking for.

like image 87
Ron Tuffin Avatar answered Sep 21 '22 07:09

Ron Tuffin


This is currently (Eclipse 3.6 Helios) not possible in outline view, but you can achieve similiar functionality through "Type Hierarchy" view:

  1. Assuming you have opened a class that you want to inspect
  2. Press F4 - this will open the "Type Hierarchy" view for that class
  3. "Type hierarchy" view is divided to two parts - an upper one which contains the hierarchy itself and the lower one, which contains members of the selected class
  4. In the lower view you can set the filter to show also all inherited members (a button with hint "Show All Inherited members")

Personally I belive that same filter should be available even in the outline view, but at least it is somewhere ;)

like image 26
Bretislav Wajtr Avatar answered Sep 24 '22 07:09

Bretislav Wajtr