Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ grayed out Run Configuration

Using IntelliJ I have some Run Configurations that are grayed out.

I can still run them but I can't find why they are grayed out.

enter image description here

like image 299
Andrea Bergonzo Avatar asked Aug 24 '17 18:08

Andrea Bergonzo


People also ask

Why is my run button greyed out IntelliJ?

The run button at the bottom of the IDE that displays/hides the run console should have it's green arrow greyed out if there are no currently running programs. Basically the same behaviour as the arrow on the tabs.

How do I enable run in IntelliJ?

From the main menu, select Run | Edit Configurations. Alternatively, press Alt+Shift+F10 , then 0 . on the toolbar or press Alt+Insert . The list shows the run/debug configuration templates.

How do I get the run symbol in IntelliJ?

In the same menu as the picture above 1 Click main toolbar then toolbar run actions. 2 At the "Toolbar Run Actions" leve, click the + button and "add action". 3 In the new popup, choose the "main menu" folder then the "run" folder. 4 Click on the "Run" icon and click ok.


1 Answers

A dimmed run configuration simply means it hasn't been saved. Technically called "temporary run configurations" by the IntelliJ manual:

Temporary configurations are marked with semi-transparent icons and are managed same way as the permanent configurations. By default, 5 temporary configurations are allowed per project. You can change this limit via the Edit Configurations dialog.

Saving (which makes the config permanent) can be done in either the "Run/Debug Configurations" menu (visible only when selected), or in the config selection dropdown in the general UI:

save locations

After saving, the configuration will move up to group with the reset of the saved configurations and will no longer be dimmed. As far as I can tell, you can have as many saved configs that you want.

like image 55
phaze0 Avatar answered Sep 23 '22 21:09

phaze0