Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use proper syntax to open file at line for Visual Studio Code, Intellij and Eclipse #22575

Merged
merged 5 commits into from
Jan 19, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use proper syntax to open file at line for IDEA
  • Loading branch information
gsmet committed Jan 19, 2022

Verified

This commit was signed with the committer’s verified signature.
gsmet Guillaume Smet
commit 4902dba315bb3b88118b065fcad43e768376b9a9
Original file line number Diff line number Diff line change
@@ -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"));