“Jump to declaration” in Eclipse with Android ADT 9.0
ADT 9.0 has a new feature: it lets you jump to the Android declarations of various resources.
I really wanted to use it, and tried pressing “F3”, which is the standard Eclipse way of jumping to a Java declaration. Right? Wrong!
Next I checked a few other places where this feature could be, like the “Navigation” menu. Not there, either!
Ok, here is the trick. At the risk of sounding like Capt. Obvious:
You’ve got to hold down Ctrl while hovering the mouse. This pops up a a nice little menu, which lets you choose between jumping to the Java declaration (which is not too useful for R.id values) or to the actual declaration in an Android-specific XML file.