Files
Ilya.Kazakevichandintellij-monorepo-bot ce38a7707a PY-87933: Disable multimodule by default for Idea, enable for PyCharm and Rider.
We now have 3 options in registry: see `FeatureState`.

For the Idea we disable `pyproject.toml` autoimport due to instability.

For PyCharm we ask user as user might have different preferences for different projects.

For Rider, we enable it unconditionally, because:
1. We can't ask user in Rider: our "asking logic" depends on index, and it doesn't work in Rider, see `intellij.rider.customization.xml` comment.
2. There is no UI in Rider to configure this preference: `PythonContentEntriesConfigurable` sits in PyCharm.


(cherry picked from commit 78566e94641eef5b90feb42a1fe9737695fec951)

IJ-CR-193846

GitOrigin-RevId: 2b19070a84b0e67a01e78ef0e4d5d5233b688932
2026-02-27 22:50:06 +00:00

28 lines
1.5 KiB
XML

<idea-plugin visibility="internal">
<dependencies>
<module name="intellij.python.community"/>
<module name="intellij.python.psi.impl"/>
<module name="intellij.python.sdk"/>
<plugin id="org.toml.lang"/>
<module name="intellij.python.common"/>
</dependencies>
<resource-bundle>messages.PyProjectTomlBundle</resource-bundle>
<extensions defaultExtensionNs="com.intellij">
<!-- "ask" means "ask user"-->
<registryKey defaultValue="[off*|on|ask]" description="Load project structure from pyproject.toml" key="intellij.python.pyproject.model"
restartRequired="true"/>
<notificationGroup id="PyProject.toml" displayType="STICKY_BALLOON" isLogByDefault="true"
bundle="messages.PyProjectTomlBundle" key="pyproject.notification.title"/>
<backgroundPostStartupActivity implementation="com.intellij.python.pyproject.model.internal.platformBridge.PyProjectSyncActivity"/>
<statistics.projectUsagesCollector implementation="com.intellij.python.pyproject.statistics.PythonTomlStatsUsagesCollector"/>
</extensions>
<extensionPoints>
<extensionPoint qualifiedName="com.intellij.python.pyproject.model.tool" interface="com.intellij.python.pyproject.model.spi.Tool"
dynamic="true"/>
<extensionPoint qualifiedName="com.intellij.python.pyproject.model.moduleDataTransfer"
interface="com.intellij.python.pyproject.model.spi.PyModuleDataTransfer" dynamic="true"/>
</extensionPoints>
</idea-plugin>