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