You can use shortcuts in the Source Editor to jump to a particular line number or to go to a source file, declaration statement, or Javadoc documentation based on the location of the insertion point.
To jump to a line:
The Go to Line dialog box is displayed.
If the dialog box does not close when you click the Goto button, the specified line number is not in the current file. Specify a smaller line number.
To go to the source for the identifier the insertion point is on:
The source file is opened and the insertion point is moved to the relevant section of code. If the insertion point is on a package statement, Alt-O opens a new Explorer dialog box for that filesystem.
For this shortcut to work, the source file must be in a directory mounted in Filesystems, and the parser database must be updated for that source.
To jump to the declaration for the method or field the insertion point is on:
The source file for the method or field must be in a directory mounted in Filesystems, and the parser database must be updated for that source.
To display Javadoc documentation for the entity the insertion point is on:
The appropriate Javadoc filesystem must be mounted in the Explorer and the parser database must be updated for your source file.
If there are multiple matching methods that vary only in their signature, the Javadoc documentation that is displayed depends on the location of the insertion point:
![]() |
If the code completion box is displayed when you type Alt-O, Alt-G, or Alt-F1,
the resulting action is based on the selection in the completion box.
If a package is selected in the completion box, Alt-O opens the package in the Explorer and Alt-F1 opens the Javadoc for the whole package. |