In Eclipse, you can provide the program argument ${string_prompt} in your run configuration to have it prompt for the command line arguments.
Is there a way to do this in IntelliJ?
In Eclipse, you can provide the program argument ${string_prompt} in your run configuration to have it prompt for the command line arguments.
Is there a way to do this in IntelliJ?
Starting from versions 2018.3 and 2019.1, IntelliJ now supports macros in Run configurations. You can use $Prompt$ anywhere in the VM Options, Program arguments, etc. fields, and it will behave just like ${string_prompt} in Eclipse -- it will prompt you for parameters when the configuration is run.
Based on using Intellij IDEA 2020.3, we can set the configuration to prompt for program arguments at the program arguments field