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.

  1. In the Java editor, select the name of a type, method, or field. You can also just click into the name once.
  2. Do one of the following:

or

  1. Hold down the Ctrl key.
  2. In the Java editor, move the mouse over the name of a type, method, or field until the name becomes underlined.
  3. 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.

Related concepts

Java editor

Related reference

Navigate menu
Views and editors