command is the most basic way to navigate to the line with the specified number.
- 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.