Open a file on a specific line in IntelliJ Idea

Use the command line to open a file on a specific line in IntelliJ Idea.

Authored by: Patrick van Zadel
Brought to you by Warp, a free terminal reimagined to work like a modern app.
line_number
file

Command
Copy
idea --line 1 file
Tags