‘you have to have a set of tools, which you should use without any breakdowns’ i once read a sentence in the manner of the above in ‘The Pragmatic Programmer’.
for most developers eclipse is such a tool, so for me. here are some of my favorite shortcuts which helped me to keep my fingers on the keyboard when browsing through the code …
ctrl + shift + t
search for (java) types
you can enter only the uppercase letters of your wanted class or interface. eclipse will bring only such types to the top which contains these uppercase letters inside their names.
i.e. entering BAD finds BankAccountDAO or BaseAssertionDummy
ctrl + shift + r
searches for any resources .
the same is true for search with uppercase letters as mentioned above. beside types, eclipse will list any other resources, i.e. jsp, xml, properties, …
ctr + o
searches for a method inside a type. let you jump quickly to the beginning of a method.
opens the declaration of a type. let you jump quickly from a type to another type. just place the cursor to the declared type you want to jump to and hit F3. you can alternatively push ctrl and click onto the type you want to open.
alt + arrow left / rigth
lets you jump right back (and forth) to the location (i.e. type declaration) you came from.
ctrl + t
shows the type hierarchy of a type. just place the cursor to the declared type with the wanted hierarchy and hit ctrl + t. now you can scroll through the hierarchy (arrow up / down) and open the desired supertype or subtype (by hitting enter).
ctrl + shift + g
searches for all references of a type or method. just place the cursor the the declaration of the type or method and hit ctrl + shift + g. now you have an overview of all types in workspace which references your class / method.