Opening an Editor for a Selected Element
You can select the name of a type, method, or field in the Java source
editor or in the scrapbook and open an editor on the definition of the
element.
- In the Java editor, select the name of a type, method, or field. You
can also just click into the name once.
- Do one of the following:
- From the menu bar, select Navigate >
Open Declaration
- From the editor's pop-up menu, select Open
Declaration
- Press F3
or
- Hold down the Ctrl key.
- In the Java editor, move the mouse over the name of a type, method,
or field until the name becomes underlined.
- Click the hyperlink once.
If there are multiple definitions of the same name, a dialog is shown,
and you can select one definition that you want to open. An editor opens
containing the selected element.
Java editor
Navigate menu
Views and
editors