Make Python plugin for IDEA compatible with CLion and Rider

(cherry picked from commit d238ce95813f05ba9744e6a124242f2c23d0ca69)
(cherry picked from commit e4bdab382c0868715e05873bd14ee61f31865c29)
This commit is contained in:
Dmitry Trofimov
2016-11-22 12:57:36 +01:00
parent c83cde13c1
commit 9c8182d929
3 changed files with 32 additions and 2 deletions
+4 -2
View File
@@ -16,13 +16,15 @@ The Python plug-in provides smart editing for Python scripts. The feature set of
]]></description>
<version>@@PYCHARM_VERSION@@</version>
<depends>com.intellij.modules.java</depends>
<vendor url="https://www.jetbrains.com/pycharm/">JetBrains</vendor>
<xi:include href="/META-INF/python-core-plugin.xml" xpointer="xpointer(/idea-plugin/*)"/>
<xi:include href="/META-INF/python-community-plugin-core.xml" xpointer="xpointer(/idea-plugin/*)"/>
<xi:include href="/META-INF/python-community-plugin-java.xml" xpointer="xpointer(/idea-plugin/*)"/>
<depends optional="true" config-file="python-community-plugin-java.xml">com.intellij.modules.java</depends>
<depends optional="true" config-file="python-plugin-minor-ide.xml">com.intellij.modules.clion</depends>
<depends optional="true" config-file="python-plugin-minor-ide.xml">com.intellij.modules.rider</depends>
<!-- Two different versions of this file exist: one is used when building from sources (when auxiliary
plugins are loaded as separate plugins) and another is used for the real release build (when auxiliary
@@ -0,0 +1,10 @@
<idea-plugin xmlns:xi="http://www.w3.org/2001/XInclude" url="https://confluence.jetbrains.com/display/PYH/">
<xi:include href="/META-INF/python-community-configure-common.xml" xpointer="xpointer(/idea-plugin/*)"/>
<extensions defaultExtensionNs="com.intellij">
<projectConfigurable groupId="build" groupWeight="118"
id="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable"
displayName="Python Interpreter"
instance="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable"/>
</extensions>
</idea-plugin>
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="lang-api" />
<orderEntry type="module" module-name="openapi" />
<orderEntry type="module" module-name="idea" />
<orderEntry type="module" module-name="idea-ui" />
<orderEntry type="module" module-name="xml" />
<orderEntry type="module" module-name="python-community-plugin-core" exported="" />
<orderEntry type="module" module-name="python-community-plugin-java" exported="" />
<orderEntry type="module" module-name="python-community" exported="" />
<orderEntry type="module" module-name="python-community-plugin-resources" exported="" />
<orderEntry type="module" module-name="python-community-configure" exported="" />
</component>
</module>