Copy: Do not check conflicts for cross-project copying
#KT-19949 Fixed #KT-19972 Fixed #EA-105637 Fixed
This commit is contained in:
+1
-1
@@ -313,7 +313,7 @@ class CopyKotlinDeclarationsHandler : CopyHandlerDelegateBase() {
|
||||
|
||||
if (!(isUnitTestMode && BaseRefactoringProcessor.ConflictsInTestsException.isTestIgnore())) {
|
||||
val targetSourceRootPsi = targetSourceRoot?.toPsiDirectory(project)
|
||||
if (targetSourceRootPsi != null) {
|
||||
if (targetSourceRootPsi != null && project == originalFile.project) {
|
||||
val conflictChecker = MoveConflictChecker(
|
||||
project,
|
||||
elementsToCopy,
|
||||
|
||||
Reference in New Issue
Block a user