| <!-- |
| ~ Copyright (C) 2021 The Android Open Source Project |
| ~ |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| ~ you may not use this file except in compliance with the License. |
| ~ You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| <idea-plugin xmlns:xi="http://www.w3.org/2001/XInclude"> |
| <depends>org.intellij.groovy</depends> |
| <depends>org.jetbrains.kotlin</depends> |
| |
| <!-- This is temporary mechanism to mark certain plugins as K2-compatible. See IntelliJ commit cf213fb139 for details. --> |
| <extensions defaultExtensionNs="org.jetbrains.kotlin"> |
| <!--suppress PluginXmlValidity --> |
| <supportsKotlinPluginMode supportsK2="true"/> |
| </extensions> |
| |
| <extensions defaultExtensionNs="com.intellij"> |
| <completion.contributor language="any" |
| id="GmdCodeCompletionContributor" |
| implementationClass="com.android.gmdcodecompletion.completions.GmdCodeCompletionContributor" |
| order="first, before KotlinCompletionContributor"/> |
| <completion.confidence language="any" |
| id="EnableAutoPopupInStringLiteralForGmdCompletion" |
| implementationClass="com.android.gmdcodecompletion.completions.EnableAutoPopupInStringLiteralForGmdCodeCompletion" |
| order="first"/> |
| </extensions> |
| |
| <projectListeners> |
| <listener class="com.android.gmdcodecompletion.GmdCodeCompletionGradleSyncListener" |
| topic="com.android.tools.idea.projectsystem.ProjectSystemSyncManager$SyncResultListener"/> |
| </projectListeners> |
| </idea-plugin> |