Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maximum number of IntelliJ Run Configurations before they roll off

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

like image 748
windjammer Avatar asked Mar 28 '17 15:03

windjammer


People also ask

Where are IntelliJ run configurations stored?

By default, it is disabled, and IntelliJ IDEA stores run configuration settings in . idea/workspace. xml.

How do I run multiple instances of a program in IntelliJ?

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 .

How do I pass multiple VM options in IntelliJ?

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.


2 Answers

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

like image 151
esin88 Avatar answered Oct 15 '22 22:10

esin88


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.

like image 20
user3007251 Avatar answered Oct 15 '22 22:10

user3007251