flagged shebang line in single source java file
Answered
I have the following code in file named 'howdy'.
#! /usr/lib/jvm/adoptopenjdk-11-openj9-amd64/bin/java --source 11
public class Main {
public static void main(String[] args) {
System.out.println("Howdy.");
}
}
Is there any way to not have the Intellij flag the first character of shebang line as an error and still edit as a Java file?
Please sign in to leave a comment.
There is no support for Java shell scripting in IntelliJ IDEA at the moment, you can follow https://youtrack.jetbrains.com/issue/IDEA-216686 for updates. See https://intellij-support.jetbrains.com/hc/articles/207241135 if you are not familiar with YouTrack.
Yikes apologies, I missed that searching for open issues. Exactly what I was looking for. Thanks!