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