One useful keyboard shortcut that allows us to quickly navigate within a large Java
ile is Ctrl + F12 . This keyboard shortcut switches focus to the Navigator window,
which displays an outline of the current Java file and shows all its methods and
When the Navigator window has focus, we can simply start typing to narrow down
the list of member variables and methods shown. This keyboard shortcut makes it
very fast to navigate through large files.
Hitting Alt + F12 will open the Hierarchy window, which outlines the class hierarchy
of the current Java class.
We can use the previous shortcut to quickly navigate to a superclass or a subclass of
the current class.