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