Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent Intellij from creating a temporary run configuration and automatically switching to it

Intellij will create a greyed-out run configuration every time I execute an unsaved run operation from some menu, be that run a unit test, run a maven build, or some other execution from a menu item (there are a lot of ways to get a temporary run configuration).

These unsaved configurations are automatically switched to. Running anything changes the run configuration dropdown box at the top of the IDE, but I never asked for this behavior.

  1. Is there a way to disable the automatic switching? I want to maintain my selection of the run configuration always and forever, amen. Stop Intellij from switching it for me.
  2. Is there a way to disable the automatic creation of temporary run configurations, altogether? I never want to be bothered with temporary items in the run configuration inventory that I later feel like I need to clean up. Removes the clutter by never creating them in the first place.
like image 523
activedecay Avatar asked Oct 16 '25 18:10

activedecay


1 Answers

Now, you can find it in Settings | Advanced Settings | IDE

enter image description here

like image 131
ThomG Avatar answered Oct 18 '25 22:10

ThomG



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!