diff --git a/idea-plugin/gradle.properties b/idea-plugin/gradle.properties index 449076d3e4..4382aeca37 100644 --- a/idea-plugin/gradle.properties +++ b/idea-plugin/gradle.properties @@ -5,11 +5,11 @@ kotlin.stdlib.default.dependency=false deploy.version=0.1-SNAPSHOT plugin.channels=snapshots -plugin.since.build=221 -plugin.until.build=223.* +plugin.since.build=222 +plugin.until.build=222.* ## See https://jb.gg/intellij-platform-builds-list for available build versions. -plugin.verifier.ide.versions=2022.1 +plugin.verifier.ide.versions=2022.2 platform.type=IC -platform.version=2022.1 +platform.version=2022.2 platform.download.sources=true diff --git a/idea-plugin/src/main/kotlin/com/android/tools/compose/code/completion/ComposeModifierCompletionContributor.kt b/idea-plugin/src/main/kotlin/com/android/tools/compose/code/completion/ComposeModifierCompletionContributor.kt index f650c2dd1a..15a6cdaee0 100644 --- a/idea-plugin/src/main/kotlin/com/android/tools/compose/code/completion/ComposeModifierCompletionContributor.kt +++ b/idea-plugin/src/main/kotlin/com/android/tools/compose/code/completion/ComposeModifierCompletionContributor.kt @@ -168,7 +168,7 @@ class ComposeModifierCompletionContributor : CompletionContributor() { val basicLookupElementFactory = BasicLookupElementFactory(nameExpression.project, insertHandler) return LookupElementFactory( - basicLookupElementFactory, receiverTypes, + basicLookupElementFactory, parameters.editor, receiverTypes, callTypeAndReceiver.callType, inDescriptor, CollectRequiredTypesContextVariablesProvider() ) }