'ruby' and 'python' modules included into Ruby/Python plugins to allow writing plugin...
authornik <Nikolay.Chashnikov@jetbrains.com>
Mon, 17 Feb 2014 08:36:09 +0000 (12:36 +0400)
committernik <Nikolay.Chashnikov@jetbrains.com>
Mon, 17 Feb 2014 08:37:11 +0000 (12:37 +0400)
platform/core-impl/src/com/intellij/ide/plugins/PluginManagerCore.java
plugins/IntelliLang/src/META-INF/plugin.xml
python/src/META-INF/pycharm-core.xml
python/src/META-INF/python-core.xml

index 004920feb151cb60bffbd53259348bf11da574c5..42cf2192351eb0c715116349943d7020a1c392fe 100644 (file)
@@ -1056,11 +1056,9 @@ public class PluginManagerCore {
     final List<IdeaPluginDescriptorImpl> result = new ArrayList<IdeaPluginDescriptorImpl>();
     final HashMap<String, String> disabledPluginNames = new HashMap<String, String>();
     for (IdeaPluginDescriptorImpl descriptor : pluginDescriptors) {
     final List<IdeaPluginDescriptorImpl> result = new ArrayList<IdeaPluginDescriptorImpl>();
     final HashMap<String, String> disabledPluginNames = new HashMap<String, String>();
     for (IdeaPluginDescriptorImpl descriptor : pluginDescriptors) {
-      if (descriptor.getPluginId().getIdString().equals(CORE_PLUGIN_ID)) {
-        final List<String> modules = descriptor.getModules();
-        if (modules != null) {
-          ourAvailableModules.addAll(modules);
-        }
+      final List<String> modules = descriptor.getModules();
+      if (modules != null) {
+        ourAvailableModules.addAll(modules);
       }
 
       if (!shouldSkipPlugin(descriptor, pluginDescriptors)) {
       }
 
       if (!shouldSkipPlugin(descriptor, pluginDescriptors)) {
index 975422e0fdfcea006c89f710f67747dbe3a1681b..34731356c845e4dd38ead6902369dff19fa9ae1b 100644 (file)
@@ -11,7 +11,6 @@
   <depends optional="true" config-file="intellilang-xml-support.xml">com.intellij.modules.xml</depends>
   <depends optional="true" config-file="intellilang-js-support.xml">JavaScript</depends>
   <depends optional="true" config-file="intellilang-python-support.xml">com.intellij.modules.python</depends>
   <depends optional="true" config-file="intellilang-xml-support.xml">com.intellij.modules.xml</depends>
   <depends optional="true" config-file="intellilang-js-support.xml">JavaScript</depends>
   <depends optional="true" config-file="intellilang-python-support.xml">com.intellij.modules.python</depends>
-  <depends optional="true" config-file="intellilang-python-support.xml">Pythonid</depends>
 
   <extensionPoints>
     <extensionPoint name="languageSupport" interface="org.intellij.plugins.intelliLang.inject.LanguageInjectionSupport"/>
 
   <extensionPoints>
     <extensionPoint name="languageSupport" interface="org.intellij.plugins.intelliLang.inject.LanguageInjectionSupport"/>
index 7a4a9c694cdabe927d343ba5941fbb0309d64253..c46c2d2960498dbb49bb1c038543d6ed0e8f8e2b 100644 (file)
@@ -24,7 +24,6 @@
   </project-components>
 
   <module value="com.intellij.modules.xml"/>
   </project-components>
 
   <module value="com.intellij.modules.xml"/>
-  <module value="com.intellij.modules.python"/>
 
   <extensions defaultExtensionNs="com.intellij">
     <projectViewPane implementation="com.intellij.ide.projectView.impl.ProjectViewPane"/>
 
   <extensions defaultExtensionNs="com.intellij">
     <projectViewPane implementation="com.intellij.ide.projectView.impl.ProjectViewPane"/>
index 88ee58b7ec33cf50cb357a8ea4b22890fec45142..f97820ddc739deb522fb55ee43b3e1deb813144e 100644 (file)
@@ -3,6 +3,8 @@
 
   <resource-bundle>com.jetbrains.python.PyBundle</resource-bundle>
 
 
   <resource-bundle>com.jetbrains.python.PyBundle</resource-bundle>
 
+  <module value="com.intellij.modules.python"/>
+
   <extensions defaultExtensionNs="com.intellij">
     <nameSuggestionProvider implementation="com.jetbrains.python.refactoring.PyNameSuggestionProvider"/>
     <methodNavigationOffsetProvider implementation="com.jetbrains.python.codeInsight.PyMethodNavigationOffsetProvider"/>
   <extensions defaultExtensionNs="com.intellij">
     <nameSuggestionProvider implementation="com.jetbrains.python.refactoring.PyNameSuggestionProvider"/>
     <methodNavigationOffsetProvider implementation="com.jetbrains.python.codeInsight.PyMethodNavigationOffsetProvider"/>