Eclipse creates a new “Run Configuration” every time I run the Scala program. The problem is that I need to configure the default startup configuration (I need to change the working path). Therefore, when creating and configuring Run Configuration for the first time, everything works fine, but any subsequent attempts to launch the Scala file using "Run As" → "Scala Application" will fail, as my user settings will be lost and Scala will be run with the new default execution configuration .
The following figure shows what the Run Configuration dialog box looks like after running my Scala application three times. Only the first launch configuration has the necessary settings:

How to configure Eclipse to always use the same startup configuration when running the same Scala file? (I mean, without having to open the "Run Configuration ..." dialog every time).
source share