From 3cf08a0523df6312b913c1803c7498e2cf6cf4a8 Mon Sep 17 00:00:00 2001 From: Maksim Kurnikov Date: Sat, 23 Mar 2024 18:35:54 +0300 Subject: [PATCH] compatibility layer updated --- gradle.properties | 2 +- .../codeInsight/completion/impl/CompletionServiceImpl.kt | 3 --- .../org/move/tests/completion/CompletionServiceImpl.kt | 5 +++++ .../codeInsight/completion/impl/CompletionServiceImpl.kt | 3 --- .../org/move/tests/completion/CompletionServiceImpl.kt | 5 +++++ .../codeInsight/completion/impl/CompletionServiceImpl.kt | 3 --- .../org/move/tests/completion/CompletionServiceImpl.kt | 5 +++++ .../kotlin/org/move/ide/typing/MoveTextFieldTypedHandler.kt | 2 +- 8 files changed, 17 insertions(+), 11 deletions(-) delete mode 100644 src/232/main/kotlin/com/intellij/codeInsight/completion/impl/CompletionServiceImpl.kt create mode 100644 src/232/main/kotlin/org/move/tests/completion/CompletionServiceImpl.kt delete mode 100644 src/233/main/kotlin/com/intellij/codeInsight/completion/impl/CompletionServiceImpl.kt create mode 100644 src/233/main/kotlin/org/move/tests/completion/CompletionServiceImpl.kt delete mode 100644 src/241/main/kotlin/com/intellij/codeInsight/completion/impl/CompletionServiceImpl.kt create mode 100644 src/241/main/kotlin/org/move/tests/completion/CompletionServiceImpl.kt diff --git a/gradle.properties b/gradle.properties index 1e6ab00fe..9318dcecf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,4 +19,4 @@ propertiesPluginEnvironmentNameProperty=shortPlatformVersion # properties files # supported versions are 231, 232, 233, default is 231 # pass ORG_GRADLE_PROJECT_shortPlatformVersion environment variable to overwrite -shortPlatformVersion=232 +shortPlatformVersion=233 diff --git a/src/232/main/kotlin/com/intellij/codeInsight/completion/impl/CompletionServiceImpl.kt b/src/232/main/kotlin/com/intellij/codeInsight/completion/impl/CompletionServiceImpl.kt deleted file mode 100644 index d8ebe41d6..000000000 --- a/src/232/main/kotlin/com/intellij/codeInsight/completion/impl/CompletionServiceImpl.kt +++ /dev/null @@ -1,3 +0,0 @@ -package com.intellij.codeInsight.completion.impl - -fun getTestCompletionPhase() = CompletionServiceImpl.getCompletionPhase() \ No newline at end of file diff --git a/src/232/main/kotlin/org/move/tests/completion/CompletionServiceImpl.kt b/src/232/main/kotlin/org/move/tests/completion/CompletionServiceImpl.kt new file mode 100644 index 000000000..cce9a2dd4 --- /dev/null +++ b/src/232/main/kotlin/org/move/tests/completion/CompletionServiceImpl.kt @@ -0,0 +1,5 @@ +package org.move.tests.completion + +import com.intellij.codeInsight.completion.impl.CompletionServiceImpl + +fun getTestCompletionPhase() = CompletionServiceImpl.getCompletionPhase() \ No newline at end of file diff --git a/src/233/main/kotlin/com/intellij/codeInsight/completion/impl/CompletionServiceImpl.kt b/src/233/main/kotlin/com/intellij/codeInsight/completion/impl/CompletionServiceImpl.kt deleted file mode 100644 index d8ebe41d6..000000000 --- a/src/233/main/kotlin/com/intellij/codeInsight/completion/impl/CompletionServiceImpl.kt +++ /dev/null @@ -1,3 +0,0 @@ -package com.intellij.codeInsight.completion.impl - -fun getTestCompletionPhase() = CompletionServiceImpl.getCompletionPhase() \ No newline at end of file diff --git a/src/233/main/kotlin/org/move/tests/completion/CompletionServiceImpl.kt b/src/233/main/kotlin/org/move/tests/completion/CompletionServiceImpl.kt new file mode 100644 index 000000000..cce9a2dd4 --- /dev/null +++ b/src/233/main/kotlin/org/move/tests/completion/CompletionServiceImpl.kt @@ -0,0 +1,5 @@ +package org.move.tests.completion + +import com.intellij.codeInsight.completion.impl.CompletionServiceImpl + +fun getTestCompletionPhase() = CompletionServiceImpl.getCompletionPhase() \ No newline at end of file diff --git a/src/241/main/kotlin/com/intellij/codeInsight/completion/impl/CompletionServiceImpl.kt b/src/241/main/kotlin/com/intellij/codeInsight/completion/impl/CompletionServiceImpl.kt deleted file mode 100644 index 4fa22c1f9..000000000 --- a/src/241/main/kotlin/com/intellij/codeInsight/completion/impl/CompletionServiceImpl.kt +++ /dev/null @@ -1,3 +0,0 @@ -package com.intellij.codeInsight.completion.impl - -fun getTestCompletionPhase() = CompletionServiceImpl.completionPhase \ No newline at end of file diff --git a/src/241/main/kotlin/org/move/tests/completion/CompletionServiceImpl.kt b/src/241/main/kotlin/org/move/tests/completion/CompletionServiceImpl.kt new file mode 100644 index 000000000..c4362d35b --- /dev/null +++ b/src/241/main/kotlin/org/move/tests/completion/CompletionServiceImpl.kt @@ -0,0 +1,5 @@ +package org.move.tests.completion + +import com.intellij.codeInsight.completion.impl.CompletionServiceImpl + +fun getTestCompletionPhase() = CompletionServiceImpl.completionPhase \ No newline at end of file diff --git a/src/main/kotlin/org/move/ide/typing/MoveTextFieldTypedHandler.kt b/src/main/kotlin/org/move/ide/typing/MoveTextFieldTypedHandler.kt index 35e551af0..85011948d 100644 --- a/src/main/kotlin/org/move/ide/typing/MoveTextFieldTypedHandler.kt +++ b/src/main/kotlin/org/move/ide/typing/MoveTextFieldTypedHandler.kt @@ -2,7 +2,7 @@ package org.move.ide.typing import com.intellij.codeInsight.AutoPopupController import com.intellij.codeInsight.completion.CompletionPhase.EmptyAutoPopup -import com.intellij.codeInsight.completion.impl.getTestCompletionPhase +import org.move.tests.completion.getTestCompletionPhase import com.intellij.codeInsight.editorActions.TypedHandlerDelegate import com.intellij.openapi.editor.Editor import com.intellij.openapi.project.Project