mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
This is needed to have an explicit dependency on the backend in it (IJPL-188916). The new module is registered in common-ide-modules.xml to include it in all IntelliJ-based IDEs as before. It's also explicitly included in Fleet Backend to keep the old behavior. Existing plugins which depend on intellij.platform.ml.impl are updated to have an explicit dependency. 'jetbrains.mlapi*' and 'ngram' libraries which are used by the module are also moved to its content module, and other plugins which use these libraries now do it via dependency on the module. GitOrigin-RevId: be9dc19406b87f8978f7a922e950f9009e1aabda
16 lines
859 B
XML
16 lines
859 B
XML
<idea-plugin package="com.intellij.python.ml.features">
|
|
<dependencies>
|
|
<module name="intellij.platform.ml.impl"/>
|
|
</dependencies>
|
|
<extensions defaultExtensionNs="com.intellij">
|
|
<statistics.counterUsagesCollector implementationClass="com.intellij.python.ml.features.imports.PyCharmImportsRankingLogs"/>
|
|
<registryKey
|
|
key="quickfix.ranking.ml"
|
|
defaultValue="[IN_EXPERIMENT*|ENABLED|DISABLED]"
|
|
description="Enable ML ranking in quick fix for missing imports"/>
|
|
<postStartupActivity implementation="com.intellij.python.ml.features.imports.QuickfixRankingModelLoading"/>
|
|
<applicationService serviceInterface="com.jetbrains.python.codeInsight.imports.ImportChooser"
|
|
serviceImplementation="com.intellij.python.ml.features.imports.PyMLImportChooser" overrides="true"/>
|
|
</extensions>
|
|
</idea-plugin>
|