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.
- 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
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.