mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 08:07:49 +00:00
`openidea --line 120 --column 8 path/to/File.java` opens the file with the caret at that position (1-based; `--line=120` works too). Without `--column` the caret goes to the line's start, and out-of-range values clamp to the end of the file or line. The position is kept by file until the window that opens it takes its launch, so it works for a new instance, a second instance forwarding to a running one, a file of a project open in another window, and a file that is already open (the caret moves again). The path argument now skips the values of these flags. Closes #829