From 6adb3a3749b5bcde53e221b3f839fccee3e5308d Mon Sep 17 00:00:00 2001 From: nik Date: Mon, 17 Feb 2014 12:36:09 +0400 Subject: [PATCH] 'ruby' and 'python' modules included into Ruby/Python plugins to allow writing plugins for both RubyMine/PyCharm and IDEA with Ruby/Python plugin --- .../src/com/intellij/ide/plugins/PluginManagerCore.java | 8 +++----- plugins/IntelliLang/src/META-INF/plugin.xml | 1 - python/src/META-INF/pycharm-core.xml | 1 - python/src/META-INF/python-core.xml | 2 ++ 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/platform/core-impl/src/com/intellij/ide/plugins/PluginManagerCore.java b/platform/core-impl/src/com/intellij/ide/plugins/PluginManagerCore.java index 004920feb151..42cf2192351e 100644 --- a/platform/core-impl/src/com/intellij/ide/plugins/PluginManagerCore.java +++ b/platform/core-impl/src/com/intellij/ide/plugins/PluginManagerCore.java @@ -1056,11 +1056,9 @@ public class PluginManagerCore { final List result = new ArrayList(); final HashMap disabledPluginNames = new HashMap(); for (IdeaPluginDescriptorImpl descriptor : pluginDescriptors) { - if (descriptor.getPluginId().getIdString().equals(CORE_PLUGIN_ID)) { - final List modules = descriptor.getModules(); - if (modules != null) { - ourAvailableModules.addAll(modules); - } + final List modules = descriptor.getModules(); + if (modules != null) { + ourAvailableModules.addAll(modules); } if (!shouldSkipPlugin(descriptor, pluginDescriptors)) { diff --git a/plugins/IntelliLang/src/META-INF/plugin.xml b/plugins/IntelliLang/src/META-INF/plugin.xml index 975422e0fdfc..34731356c845 100644 --- a/plugins/IntelliLang/src/META-INF/plugin.xml +++ b/plugins/IntelliLang/src/META-INF/plugin.xml @@ -11,7 +11,6 @@ com.intellij.modules.xml JavaScript com.intellij.modules.python - Pythonid diff --git a/python/src/META-INF/pycharm-core.xml b/python/src/META-INF/pycharm-core.xml index 7a4a9c694cda..c46c2d296049 100644 --- a/python/src/META-INF/pycharm-core.xml +++ b/python/src/META-INF/pycharm-core.xml @@ -24,7 +24,6 @@ - diff --git a/python/src/META-INF/python-core.xml b/python/src/META-INF/python-core.xml index 88ee58b7ec33..f97820ddc739 100644 --- a/python/src/META-INF/python-core.xml +++ b/python/src/META-INF/python-core.xml @@ -3,6 +3,8 @@ com.jetbrains.python.PyBundle + +