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 65d0fc295a32a..50959a7d7e75e 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 @@ -80,8 +80,11 @@ public List createFileOpeningArgs(String fileName, String line) { return Collections.singletonList(fileName); } + // we don't know the syntax for opening a file at a given line + // so we just open the file if (lineNumberArgs.isEmpty()) { - return Collections.singletonList(fileName + ":" + line); + log.debug("No syntax provided for opening the file at a given line for this IDE so we will just open the file"); + return Collections.singletonList(fileName); } return lineNumberArgs.stream()