Navigating to Line
command is the most basic way to navigate to the line with the specified number.
To navigate to a line in the editor
- On the main menu, choose , or press Ctrl+G.
- 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.
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.
Last modified: 29 November 2017