[Workspace Model] [IDEA-288277] Do not try to save artifacts with conflicting names

At the moment, when the user renames artifact, IJ saves the new name on every keystroke. That means, that during typing, one artifact may have the same name as some other artifact even if the target name is not the same.
Workspace model doesn't allow us to store artifacts with the same names, so we should not update the artifact name in case it already exists.

GitOrigin-RevId: a0565388e618dbbcbd6524cbf22e54c4748983f0
This commit is contained in:
Alex Plate
2022-02-11 16:13:03 +03:00
committed by intellij-monorepo-bot
parent b7018ba3b7
commit cdbd61282d
4 changed files with 99 additions and 3 deletions

View File

@@ -14,5 +14,6 @@
<orderEntry type="library" scope="TEST" name="assertJ" level="project" />
<orderEntry type="module" module-name="intellij.platform.tests" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.java.compiler" scope="TEST" />
</component>
</module>