diff --git a/core/deployment/src/main/java/io/quarkus/deployment/ide/Ide.java b/core/deployment/src/main/java/io/quarkus/deployment/ide/Ide.java index 4ea783915a5d1..96b44911b38b4 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/ide/Ide.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/ide/Ide.java @@ -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"));