intellij-community icon indicating copy to clipboard operation
intellij-community copied to clipboard

IJPL-11682 Save run configuration with scheme type prefix

Open Florian3k opened this issue 1 year ago • 0 comments

Fixes: https://youtrack.jetbrains.com/issue/IJPL-11682/Saving-new-shared-run-configurations-silently-overwrites-old-ones-with-same-name

This problem is resolved by prepending type of configuration in front of the name, eg. configuration with name foo and type JUnit will be saved as JUnit_foo.xml.

This solution has the side effect of changing names of existing files, stored eg. in repositories. If two people are working on the same codebase with stored run configuration files, and they have different IntelliJ versions (before and after this fix), they will constantly rename the config files back and forth, which is a drawback.

Alternative solution:

  • Completely prohibit having two configurations of different types with the same name (It is already the case for two configs with the same type)

Florian3k avatar Jun 28 '24 11:06 Florian3k