Community
Participate
Working Groups
JDK 11 introduces that we can simply run `java MyClass.java`, which is extremely pleasant for beginner or tests. Ability to run any Java file that is *not* in a Java project with this command would be a nice addition to the IDE.
This also needs to apply for files that are external to the workspace.
We did discuss about this it when Java 11 came up with this feature but we did not plan to work on this as in Eclipse file without project is of no use. And there is already support of linking a outside java file in a Java Project. If there is someone willing to work on this, we can look at it.
(In reply to Sarika Sinha from comment #2) > We did discuss about this it when Java 11 came up with this feature but we > did not plan to work on this as in Eclipse file without project is of no use. > And there is already support of linking a outside java file in a Java > Project. > > If there is someone willing to work on this, we can look at it. I can understand that. My deep goal is to slowly make Java files usable without an explicit Java project. For the "run" (and maybe debug) part, this simple enough issue would make the job; for the edition part, it'd be another story (basically building "volatile" dummy Java project when opening a .java file that's not in a Java project, in order to provide some decent assistance). However, I also cannot make it a priority at the moment. As this specific feature seems simple enough, I'm adding the usual tags.