7a4a9c694cdabe927d343ba5941fbb0309d64253
[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   <module value="com.intellij.modules.python"/>
28
29   <extensions defaultExtensionNs="com.intellij">
30     <projectViewPane implementation="com.intellij.ide.projectView.impl.ProjectViewPane"/>
31
32     <projectAttachProcessor implementation="com.intellij.platform.ModuleAttachProcessor"/>
33
34     <!--<applicationConfigurable instance="com.jetbrains.python.configuration.PythonSdkConfigurable"/>-->
35     <projectConfigurable instance="com.jetbrains.python.configuration.PythonContentEntriesConfigurable"/>
36     <projectConfigurable instance="com.jetbrains.python.buildout.BuildoutModulesConfigurable"/>
37     <projectConfigurable instance="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable"/>
38     <projectConfigurable instance="com.jetbrains.python.configuration.PyDependenciesConfigurable"/>
39
40     <directoryProjectConfigurator implementation="com.jetbrains.python.PythonSdkConfigurator" id="sdk"
41                                   order="after PlatformProjectConfigurator"/>
42     <directoryProjectConfigurator implementation="com.jetbrains.python.PythonSourceRootConfigurator" id="sourceRoot"
43                                   order="after sdk"/>
44     <directoryProjectConfigurator implementation="com.jetbrains.python.buildout.BuildoutFacetConfigurator" id="buildout"
45                                   order="after sourceRoot"/>
46     <directoryProjectConfigurator implementation="com.intellij.platform.PlatformInspectionProfileConfigurator"/>
47
48     <applicationService serviceInterface="com.intellij.openapi.module.ModuleTypeManager"
49                         serviceImplementation="com.jetbrains.python.PythonModuleTypeManager"/>
50
51     <fileStructureGroupRuleProvider implementation="com.intellij.usages.impl.rules.FileGroupingRuleProvider" order="first"/>
52     <fileStructureGroupRuleProvider implementation="com.jetbrains.python.findUsages.PyClassGroupingRuleProvider" order="before py-function"/>
53     <diffPreviewProvider implementation="com.jetbrains.python.configuration.PyDiffPreviewProvider"/>
54
55     <codeStyleSettingsProvider implementation="com.intellij.application.options.CommonCodeStyleSettingsProvider"/>
56
57     <applicationService serviceInterface="com.jetbrains.python.run.PyCommonOptionsFormFactory"
58                         serviceImplementation="com.jetbrains.python.PyIdeCommonOptionsFormFactory"/>
59
60     <optionsApplicabilityFilter implementation="com.jetbrains.python.PyOptionsApplicabilityFilter"/>
61
62     <hectorComponentProvider implementation="com.intellij.codeInsight.daemon.impl.ImportPopupHectorComponentProvider"/>
63
64     <usageFilteringRuleProvider implementation="com.intellij.usages.impl.ImportUsageFilteringRuleProvider"/>
65     <applicationService serviceInterface="com.intellij.usages.impl.ImportFilteringUsageViewSetting"
66                         serviceImplementation="com.intellij.usages.impl.ImportFilteringUsageViewSetting"/>
67
68     <projectService serviceInterface="com.jetbrains.python.configuration.PyConfigurableInterpreterList"
69                     serviceImplementation="com.jetbrains.python.configuration.PyConfigurableInterpreterList"/>
70
71     <bundledColorScheme path="/colorSchemes/Darcula"/>
72     <bundledColorScheme path="/colorSchemes/monokai"/>
73     <bundledColorScheme path="/colorSchemes/twilight"/>
74     <bundledColorScheme path="/colorSchemes/WarmNeon"/>
75
76     <renameHandler implementation="com.intellij.platform.renameProject.RenameProjectHandler"/>
77     <renameHandler implementation="com.intellij.platform.renameProject.ProjectFolderRenameHandler"/>
78   </extensions>
79
80   <actions>
81     <group id="PlatformOpenProjectGroup">
82       <action id="NewDirectoryProject" class="com.jetbrains.python.newProject.PythonNewDirectoryProjectAction"/>
83       <action id="OpenDirectoryProject" class="com.intellij.platform.OpenDirectoryProjectAction"/>
84       <add-to-group group-id="FileOpenGroup" anchor="first"/>
85     </group>
86
87     <action id="NewElement" class="com.intellij.ide.actions.NewElementAction">
88       <add-to-group group-id="PlatformOpenProjectGroup" anchor="after" relative-to-action="NewDirectoryProject"/>
89     </action>
90
91     <action id="SaveAs" class="com.intellij.ide.actions.SaveAsAction" text="Save As.." >
92       <add-to-group group-id="FileOpenGroup" anchor="after" relative-to-action="OpenFile"/>
93     </action>
94
95     <action id="RerunFailedTests" class="com.intellij.execution.testframework.actions.AbstractRerunFailedTestsAction"
96             icon="AllIcons.RunConfigurations.RerunFailedTests"/>
97
98     <group id="WelcomeScreen.Platform.NewProject">
99       <action id="WelcomeScreen.CreateDirectoryProject" class="com.jetbrains.python.newProject.PythonNewDirectoryProjectAction" icon="AllIcons.General.CreateNewProject"/>
100       <action id="WelcomeScreen.OpenDirectoryProject" class="com.intellij.platform.OpenDirectoryProjectAction" icon="AllIcons.General.OpenProject"/>
101
102       <add-to-group group-id="WelcomeScreen.QuickStart" anchor="first"/>
103     </group>
104
105     <action id="MarkSourceRoot" class="com.intellij.ide.projectView.actions.MarkJavaSourceRootAction">
106       <add-to-group group-id="MarkRootGroup"/>
107     </action>
108     <action id="MarkExcludeRoot" class="com.intellij.ide.projectView.actions.MarkExcludeRootAction">
109       <add-to-group group-id="MarkRootGroup"/>
110     </action>
111     <action id="UnmarkRoot" class="com.intellij.ide.projectView.actions.UnmarkRootAction">
112       <add-to-group group-id="MarkRootGroup"/>
113     </action>
114     <group id="TypeHierarchyPopupMenu">
115     </group>
116   </actions>
117 </idea-plugin>