command is the most basic way to navigate to the line with the specified number.
- On the main menu, choose , or press .
- 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.