IntelliJ IDEA 2017.3 Help

Navigating to Line

Navigate | Line command is the most basic way to navigate to the line with the specified number.

To navigate to a line in the editor

The current caret position (line number and offset) is displayed in the Status Bar. You can click it to open the Go To Line dialog box.

  1. On the main menu, choose Navigate | Line, or press Ctrl+G.
  2. In the Go To Line dialog box that appears, IntelliJ IDEA shows the current line and offset delimited by a colon. Type the target line number and, optionally, an offset, and then click OK.
Last modified: 6 March 2018

See Also