javaeclipsenavigationpackage-explorer

How to view methods in textual order in Eclipse, for navigation in editor?


I'd like to view a list of methods defined in a .java file in textual order, for navigating in the editor.

Currently I attempt to view the methods in Package Explorer with the drop-down arrow of the java class source file. It is sorted alphabetically which is not what I want. Tried to look around in Ctrl+F10 in the Package Explorer options without luck so far.

How can I get a list of methods, sorted in their textual order (as defined in source code), for navigation?


Solution

  • Why not use Outline view? Check help here and here.

    You will get more options like: filters, hide/show fields, sorting etc.