Skip to content

Commit

Permalink
Use proper syntax to open file at line for IDEA
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Jan 19, 2022
1 parent 677381d commit 4902dba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public enum Ide {

// see for cli syntax of idea https://www.jetbrains.com/help/idea/opening-files-from-command-line.html
IDEA("idea", Collections.emptyList(), List.of("--help")),
IDEA("idea", List.of("--line", "{lineNumber}", "{fileName}"), List.of("--help")),
ECLIPSE("eclipse", Collections.emptyList(), Collections.emptyList()),
VSCODE("code", List.of("--goto", "{fileName}:{lineNumber}"), List.of("--version")),
NETBEANS("netbeans", Collections.emptyList(), List.of("--help"));
Expand Down

0 comments on commit 4902dba

Please sign in to comment.