Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
12.0
-
None
-
None
Description
Currently when I need to to run single file (Shift-F6) on a modular application I go to
ProjectDir->RightClick->Properties->Actions->Run file via main()
and change the `exec.args` from:
`-classpath %classpath ${packageClassName}`
to
`--module-path %classpath:/opt/javafx-mods/14/ -m jdk14Example/${packageClassName}`
It would be nice to have an expression for selecting the module of the currently open file so that it is not hardcoded. e.g. `${moduleName}` instead of `jdk14Example`. This way if module name changes, the run configuration will not break.