In IntelliJ, If I right-click on a class and choose Run 'XYZ', it adds them to the Run Configurations dialog.
This is fine, but after adding 6 new Run Configs this way, it rolls off the configs you've losed least recently. This is annoying if I run 6 different junit tests individually, then suddenly run configs I want to keep are deleted.
Is there anyway to increase the limit from 6?
Thanks
By default, it is disabled, and IntelliJ IDEA stores run configuration settings in . idea/workspace. xml.
Go to Run > Edit Configurations... then select the application. Click the Modify options drop-down, and turn on Allow multiple instances . Remember to click Apply then OK .
From the main menu, select Help | Edit Custom VM Options. If you do not have any project open, on the Welcome screen, click Configure and then Edit Custom VM Options. If you cannot start IntelliJ IDEA, manually copy the default file with JVM options to the IntelliJ IDEA configuration directory.
You can open Run
| Edit Configurations
and check Share
checkbox for those configurations you want to save. And those will no be deleted.
Or, if you don't want it to be shared, you can click Save
icon in the same configuration window. This configuration will also not be deleted.
You can find more information here
I know this is an old post but I got the same issue and managed to find out how to set the limit.
From IntelliJ documentation:
By default, 5 temporary configurations are allowed per project. You can change this limit via the Edit Configurations dialog.
Link to documentation on how to change the limit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With