042067272baf4252a1a995ef7c60ed2894e138e5
[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
80     <directoryIndexExcludePolicy implementation="com.jetbrains.python.PyDirectoryIndexExcludePolicy"/>
81
82   </extensions>
83
84   <actions>
85     <group id="PlatformOpenProjectGroup">
86       <action id="NewDirectoryProject" class="com.jetbrains.python.newProject.PyCharmNewProjectAction"/>
87       <add-to-group group-id="FileOpenGroup" anchor="first"/>
88     </group>
89
90     <action id="NewElement" class="com.intellij.ide.actions.NewElementAction">
91       <add-to-group group-id="PlatformOpenProjectGroup" anchor="after" relative-to-action="NewDirectoryProject"/>
92     </action>
93
94     <action id="SaveAs" class="com.intellij.ide.actions.SaveAsAction" text="Save As..">
95       <add-to-group group-id="FileOpenGroup" anchor="after" relative-to-action="OpenFile"/>
96     </action>
97
98     <action id="RerunFailedTests" class="com.intellij.execution.testframework.actions.RerunFailedTestsAction"
99             icon="AllIcons.RunConfigurations.RerunFailedTests"/>
100
101     <group id="WelcomeScreen.Platform.NewProject">
102       <action id="WelcomeScreen.CreateDirectoryProject" class="com.jetbrains.python.newProject.actions.PyCharmNewProjectStep"
103               icon="AllIcons.Welcome.CreateNewProject"/>
104       <action id="WelcomeScreen.OpenDirectoryProject" class="com.intellij.ide.actions.OpenFileAction" icon="AllIcons.General.OpenProject"/>
105
106       <add-to-group group-id="WelcomeScreen.QuickStart" anchor="first"/>
107     </group>
108
109     <group>
110       <action id="MarkSourceRoot" class="com.intellij.ide.projectView.actions.MarkJavaSourceRootAction"/>
111       <action id="MarkExcludeRoot" class="com.intellij.ide.projectView.actions.MarkExcludeRootAction"/>
112       <action id="MarkAsContentRoot" class="com.intellij.ide.projectView.actions.MarkAsContentRootAction"/>
113       <action id="UnmarkRoot" class="com.intellij.ide.projectView.actions.UnmarkRootAction"/>
114       <add-to-group group-id="MarkRootGroup"/>
115     </group>
116
117     <action overrides="true" id="ForceStepInto" class="com.intellij.openapi.actionSystem.EmptyAction"/>
118
119     <group id="TypeHierarchyPopupMenu">
120     </group>
121   </actions>
122 </idea-plugin>