tags:

views:

36

answers:

2

I use what I think is a typical layout in Eclipse: my workspace contains the Project Explorer on the left and the Java editor window taking up most of the screen, with the small console window at the foot of this editor pane.

When I open a very long Java class, containing a large number of method definitions, in the editor pane, it can take a long time to move between methods. I use CTRL-F to open the Find dialog and then type in the name of the method if I can remember it.

Is there a better way to navigate between method definitions in a large class in Eclipse?

+5  A: 

Ctrl+O will open a dialog with the methods (and variables) list. It supports "advanced" :-) searching so you can just type a few letters of the method's name

LiorH
+4  A: 

Use the Outline View.

Matt Ball
I usually place the Outline View right below the Project Explorer, so it's not taking too much space.
zvikico