Revert "PY-22514, CPP-8763: Disable unneeded producers for plugins"
authorDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Fri, 3 Feb 2017 10:48:07 +0000 (11:48 +0100)
committerDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Fri, 3 Feb 2017 10:48:07 +0000 (11:48 +0100)
This reverts commit def99cfd2b1f18953011d8f4bb348410b5ba8fab.

python/educational-python/src/com/jetbrains/python/edu/PyCharmEduInitialConfigurator.java
python/ide/src/com/jetbrains/python/PyCharmInitialConfigurator.java [moved from python/src/com/jetbrains/python/PyCharmInitialConfigurator.java with 98% similarity]
python/pluginCore/META-INF/python-community-plugin-core.xml

index 03f35c514b2047795313ab43f23e948f39ae2dd6..9d4015b719bec02374a5e5798e2464a80997458e 100644 (file)
@@ -76,7 +76,6 @@ import com.intellij.util.ui.tree.TreeUtil;
 import com.jetbrains.python.PythonLanguage;
 import com.jetbrains.python.codeInsight.PyCodeInsightSettings;
 import com.jetbrains.python.inspections.PyPep8Inspection;
-import com.jetbrains.python.testing.universalTests.PyUniversalTestLegacyInteropKt;
 import org.jetbrains.annotations.NonNls;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
@@ -255,11 +254,6 @@ public class PyCharmEduInitialConfigurator {
         });
       }
     });
-
-    /*
-    According to PyUniversalTestLegacyInteropKt we need to call "init"
-     */
-    PyUniversalTestLegacyInteropKt.init(bus);
   }
 
   private static void patchMainMenu() {
similarity index 98%
rename from python/src/com/jetbrains/python/PyCharmInitialConfigurator.java
rename to python/ide/src/com/jetbrains/python/PyCharmInitialConfigurator.java
index 14686d01fdff98a7f2d2df6f49a98f1ab1c674aa..b4ce3dd569104298725cdfccc408fb7b97508ef4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2017 JetBrains s.r.o.
+ * Copyright 2000-2015 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@ import javax.swing.*;
  * @author yole
  */
 @SuppressWarnings({"UtilityClassWithoutPrivateConstructor", "UtilityClassWithPublicConstructor"})
-public final class PyCharmInitialConfigurator {
+public class PyCharmInitialConfigurator {
   @NonNls private static final String DISPLAYED_PROPERTY = "PyCharm.initialConfigurationShown";
 
   public PyCharmInitialConfigurator(MessageBus bus, final PropertiesComponent propertiesComponent, final FileTypeManager fileTypeManager) {
index 0dd18c4208ade462e020c82e4d21369a7ea3d2ec..722cace688971b7cb81c7af1fba6bd628dc6785e 100644 (file)
       <interface-class>com.jetbrains.python.console.PythonConsoleRunnerFactory</interface-class>
       <implementation-class>com.jetbrains.python.console.PydevConsoleRunnerFactory</implementation-class>
     </component>
-    <component>
-      <implementation-class>com.jetbrains.python.PyCharmInitialConfigurator</implementation-class>
-      <headless-implementation-class/>
-    </component>
   </application-components>
 
 </idea-plugin>
\ No newline at end of file