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
  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.

See Also

Reference:

Getting Started: