Fix Django console to work with the refactored Python console from #PR444
[idea/community.git] / python / ide / src / META-INF / pycharm-core.xml
1 <idea-plugin xmlns:xi="http://www.w3.org/2001/XInclude" version="2">
2   <!-- Components and extensions declared in this file work ONLY in PyCharm, not in Python plugin.
3        Both Community and Professional editions. -->
4
5   <xi:include href="/META-INF/IdeTipsAndTricks.xml" xpointer="xpointer(/idea-plugin/*)"/>
6   <xi:include href="/META-INF/PlatformLangPlugin.xml" xpointer="xpointer(/idea-plugin/*)"/>
7   <xi:include href="/META-INF/XmlPlugin.xml" xpointer="xpointer(/idea-plugin/*)"/>
8   <xi:include href="/META-INF/JsonPlugin.xml" xpointer="xpointer(/idea-plugin/*)"/>
9   <xi:include href="/META-INF/ImagesPlugin.xml" xpointer="xpointer(/idea-plugin/*)">
10     <xi:fallback/>
11   </xi:include>
12   <xi:include href="/META-INF/RegExpPlugin.xml" xpointer="xpointer(/idea-plugin/*)"/>
13   <xi:include href="/META-INF/SpellCheckerPlugin.xml" xpointer="xpointer(/idea-plugin/*)"/>
14   <xi:include href="/META-INF/RemoteServers.xml" xpointer="xpointer(/idea-plugin/*)">
15     <xi:fallback/>
16   </xi:include>
17   <xi:include href="/META-INF/python-community-configure-ide.xml" xpointer="xpointer(/idea-plugin/*)"/>
18
19   <application-components>
20     <component>
21       <implementation-class>com.intellij.internal.statistic.updater.SendStatisticsComponent</implementation-class>
22     </component>
23   </application-components>
24
25   <project-components>
26     <component>
27       <implementation-class>com.jetbrains.python.PyModuleListener</implementation-class>
28     </component>
29   </project-components>
30
31
32   <module value="com.intellij.modules.xml"/>
33
34   <extensions defaultExtensionNs="com.intellij">
35     <projectViewPane implementation="com.intellij.ide.projectView.impl.ProjectViewPane"/>
36
37     <projectAttachProcessor implementation="com.intellij.platform.ModuleAttachProcessor"/>
38
39     <projectConfigurable groupId="build"
40                          id="com.jetbrains.python.buildout.BuildoutModulesConfigurable"
41                          displayName="Buildout Support"
42                          instance="com.jetbrains.python.buildout.BuildoutModulesConfigurable"/>
43
44     <directoryProjectConfigurator implementation="com.jetbrains.python.PythonSdkConfigurator" id="sdk"
45                                   order="after PlatformProjectConfigurator"/>
46     <directoryProjectConfigurator implementation="com.jetbrains.python.PythonSourceRootConfigurator" id="sourceRoot"
47                                   order="after sdk"/>
48     <directoryProjectConfigurator implementation="com.jetbrains.python.buildout.BuildoutFacetConfigurator" id="buildout"
49                                   order="after sourceRoot"/>
50     <directoryProjectConfigurator implementation="com.intellij.platform.PlatformInspectionProfileConfigurator"/>
51
52     <applicationService serviceInterface="com.intellij.openapi.module.ModuleTypeManager"
53                         serviceImplementation="com.jetbrains.python.PythonModuleTypeManager"/>
54
55     <fileStructureGroupRuleProvider implementation="com.intellij.usages.impl.rules.FileGroupingRuleProvider" order="first"/>
56     <fileStructureGroupRuleProvider implementation="com.jetbrains.python.findUsages.PyClassGroupingRuleProvider"
57                                     order="before py-function"/>
58     <diffPreviewProvider implementation="com.jetbrains.python.configuration.PyDiffPreviewProvider"/>
59
60     <applicationService serviceInterface="com.jetbrains.python.run.PyCommonOptionsFormFactory"
61                         serviceImplementation="com.jetbrains.python.PyIdeCommonOptionsFormFactory"/>
62
63     <optionsApplicabilityFilter implementation="com.jetbrains.python.PyOptionsApplicabilityFilter"/>
64
65     <hectorComponentProvider implementation="com.intellij.codeInsight.daemon.impl.ImportPopupHectorComponentProvider"/>
66
67     <usageFilteringRuleProvider implementation="com.intellij.usages.impl.ImportUsageFilteringRuleProvider"/>
68     <applicationService serviceImplementation="com.intellij.usages.impl.ImportFilteringUsageViewSetting"/>
69
70     <bundledColorScheme path="/colorSchemes/monokai"/>
71     <bundledColorScheme path="/colorSchemes/twilight"/>
72     <bundledColorScheme path="/colorSchemes/WarmNeon"/>
73     <bundledColorScheme path="/colorSchemes/github"/>
74
75     <renameHandler implementation="com.intellij.platform.renameProject.RenameProjectHandler"/>
76     <renameHandler implementation="com.intellij.platform.renameProject.ProjectFolderRenameHandler"/>
77
78     <!-- Console -->
79     <internal_executor id="PyConsoleToolWindowExecutor" implementation="com.jetbrains.python.console.PyConsoleToolWindowExecutor"/>
80     <postStartupActivity implementation="com.jetbrains.python.console.PyConsoleStarter"/>
81
82
83     <directoryIndexExcludePolicy implementation="com.jetbrains.python.PyDirectoryIndexExcludePolicy"/>
84
85   </extensions>
86
87   <actions>
88     <group id="PlatformOpenProjectGroup">
89       <action id="NewDirectoryProject" class="com.jetbrains.python.newProject.PyCharmNewProjectAction"/>
90       <add-to-group group-id="FileOpenGroup" anchor="first"/>
91     </group>
92
93     <action id="NewElement" class="com.intellij.ide.actions.NewElementAction">
94       <add-to-group group-id="PlatformOpenProjectGroup" anchor="after" relative-to-action="NewDirectoryProject"/>
95     </action>
96
97     <action id="SaveAs" class="com.intellij.ide.actions.SaveAsAction" text="Save As..">
98       <add-to-group group-id="FileOpenGroup" anchor="after" relative-to-action="OpenFile"/>
99     </action>
100
101     <action id="RerunFailedTests" class="com.intellij.execution.testframework.actions.RerunFailedTestsAction"
102             icon="AllIcons.RunConfigurations.RerunFailedTests"/>
103
104     <group id="WelcomeScreen.Platform.NewProject">
105       <action id="WelcomeScreen.CreateDirectoryProject" class="com.jetbrains.python.newProject.actions.PyCharmNewProjectStep"
106               icon="AllIcons.Welcome.CreateNewProject"/>
107       <action id="WelcomeScreen.OpenDirectoryProject" class="com.intellij.ide.actions.OpenFileAction" icon="AllIcons.General.OpenProject"/>
108
109       <add-to-group group-id="WelcomeScreen.QuickStart" anchor="first"/>
110     </group>
111
112     <group>
113       <action id="MarkSourceRoot" class="com.intellij.ide.projectView.actions.MarkJavaSourceRootAction"/>
114       <action id="MarkExcludeRoot" class="com.intellij.ide.projectView.actions.MarkExcludeRootAction"/>
115       <action id="MarkAsContentRoot" class="com.intellij.ide.projectView.actions.MarkAsContentRootAction"/>
116       <action id="UnmarkRoot" class="com.intellij.ide.projectView.actions.UnmarkRootAction"/>
117       <add-to-group group-id="MarkRootGroup"/>
118     </group>
119
120     <action overrides="true" id="ForceStepInto" class="com.intellij.openapi.actionSystem.EmptyAction"/>
121
122     <group id="TypeHierarchyPopupMenu">
123     </group>
124   </actions>
125 </idea-plugin>