mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
[gradle] Add optional ML completion integration for Groovy
Move the Completion ML Groovy features to a separate XML file and make it optional, so it's only loaded if the ML Ranking plugin is available. This improves the loading performance and modularity of the Gradle plugin. GitOrigin-RevId: 8224302440f6fc92ec8a314f4ca80bc7eb53ef80
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ee4df297fa
commit
9dfad093f0
@@ -1,5 +1,5 @@
|
||||
<idea-plugin>
|
||||
<depends>com.intellij.completion.ml.ranking</depends>
|
||||
<depends optional="true" config-file="gradle-groovy-ml-integration.xml">com.intellij.completion.ml.ranking</depends>
|
||||
<depends optional="true" config-file="gradle-groovy-toml-integration.xml">org.toml.lang</depends>
|
||||
|
||||
<extensionPoints>
|
||||
@@ -38,11 +38,6 @@
|
||||
<library.presentationProvider implementation="org.jetbrains.plugins.gradle.config.GradleLibraryPresentationProvider" order="last"/>
|
||||
<java.elementFinder implementation="org.jetbrains.plugins.gradle.config.GradleClassFinder"/>
|
||||
<gotoDeclarationHandler implementation="org.jetbrains.plugins.gradle.service.navigation.GradleVersionCatalogGotoDeclarationHandler"/>
|
||||
|
||||
<completion.ml.contextFeatures language="Groovy" implementationClass="org.jetbrains.plugins.gradle.service.completion.ml.GradleGroovyContextFeatureProvider"/>
|
||||
<completion.ml.elementFeatures language="Groovy" implementationClass="org.jetbrains.plugins.gradle.service.completion.ml.GradleGroovyElementFeatureProvider"/>
|
||||
<completion.ml.ranking.features.policy language="Groovy" implementationClass="org.jetbrains.plugins.gradle.service.completion.ml.GradleGroovyCompletionFeaturesPolicy"/>
|
||||
|
||||
<externalSystemTaskNotificationListener implementation="org.jetbrains.plugins.gradle.codeInspection.suppression.GradleSuppressHighlightingListener"/>
|
||||
<trafficLightRendererContributor implementation="org.jetbrains.plugins.gradle.codeInspection.suppression.GradleGroovyTrafficLightRendererContributor"/>
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<idea-plugin>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<completion.ml.contextFeatures language="Groovy" implementationClass="org.jetbrains.plugins.gradle.service.completion.ml.GradleGroovyContextFeatureProvider"/>
|
||||
<completion.ml.elementFeatures language="Groovy" implementationClass="org.jetbrains.plugins.gradle.service.completion.ml.GradleGroovyElementFeatureProvider"/>
|
||||
<completion.ml.ranking.features.policy language="Groovy" implementationClass="org.jetbrains.plugins.gradle.service.completion.ml.GradleGroovyCompletionFeaturesPolicy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
Reference in New Issue
Block a user