Rename project action
[idea/community.git] / python / ide / src / META-INF / pycharm-core.xml
1 <idea-plugin 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        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   <project-components>
32     <component>
33       <implementation-class>com.jetbrains.python.console.PythonConsoleToolWindow</implementation-class>
34     </component>
35   </project-components>
36
37
38
39
40   <module value="com.intellij.modules.xml"/>
41
42   <extensions defaultExtensionNs="com.intellij">
43     <projectViewPane implementation="com.intellij.ide.projectView.impl.ProjectViewPane"/>
44
45     <projectAttachProcessor implementation="com.intellij.platform.ModuleAttachProcessor"/>
46
47     <projectConfigurable groupId="build"
48                          id="com.jetbrains.python.buildout.BuildoutModulesConfigurable"
49                          displayName="Buildout Support"
50                          instance="com.jetbrains.python.buildout.BuildoutModulesConfigurable"/>
51
52     <directoryProjectConfigurator implementation="com.jetbrains.python.PythonSdkConfigurator" id="sdk"
53                                   order="after PlatformProjectConfigurator"/>
54     <directoryProjectConfigurator implementation="com.jetbrains.python.PythonSourceRootConfigurator" id="sourceRoot"
55                                   order="after sdk"/>
56     <directoryProjectConfigurator implementation="com.jetbrains.python.buildout.BuildoutFacetConfigurator" id="buildout"
57                                   order="after sourceRoot"/>
58     <directoryProjectConfigurator implementation="com.intellij.platform.PlatformInspectionProfileConfigurator"/>
59
60     <applicationService serviceInterface="com.intellij.openapi.module.ModuleTypeManager"
61                         serviceImplementation="com.jetbrains.python.PythonModuleTypeManager"/>
62
63     <fileStructureGroupRuleProvider implementation="com.intellij.usages.impl.rules.FileGroupingRuleProvider" order="first"/>
64     <fileStructureGroupRuleProvider implementation="com.jetbrains.python.findUsages.PyClassGroupingRuleProvider"
65                                     order="before py-function"/>
66     <diffPreviewProvider implementation="com.jetbrains.python.configuration.PyDiffPreviewProvider"/>
67
68     <applicationService serviceInterface="com.jetbrains.python.run.PyCommonOptionsFormFactory"
69                         serviceImplementation="com.jetbrains.python.PyIdeCommonOptionsFormFactory"/>
70
71     <optionsApplicabilityFilter implementation="com.jetbrains.python.PyOptionsApplicabilityFilter"/>
72
73     <hectorComponentProvider implementation="com.intellij.codeInsight.daemon.impl.ImportPopupHectorComponentProvider"/>
74
75     <usageFilteringRuleProvider implementation="com.intellij.usages.impl.ImportUsageFilteringRuleProvider"/>
76     <applicationService serviceImplementation="com.intellij.usages.impl.ImportFilteringUsageViewSetting"/>
77
78     <bundledColorScheme path="/colorSchemes/monokai"/>
79     <bundledColorScheme path="/colorSchemes/twilight"/>
80     <bundledColorScheme path="/colorSchemes/WarmNeon"/>
81     <bundledColorScheme path="/colorSchemes/github"/>
82
83     <renameHandler implementation="com.intellij.platform.renameProject.RenameProjectHandler"/>
84     <renameHandler implementation="com.intellij.platform.renameProject.ProjectFolderRenameHandler"/>
85
86     <!-- Console -->
87
88     <toolWindow id="Python Console" anchor="bottom" icon="PythonIcons.Python.PythonConsoleToolWindow"
89                 factoryClass="com.jetbrains.python.console.PythonConsoleToolWindowFactory" secondary="false"/>
90
91
92
93     <directoryIndexExcludePolicy implementation="com.jetbrains.python.PyDirectoryIndexExcludePolicy"/>
94
95   </extensions>
96
97   <actions>
98     <group id="PlatformOpenProjectGroup">
99       <action id="NewDirectoryProject" class="com.jetbrains.python.newProject.PyCharmNewProjectAction"/>
100       <add-to-group group-id="FileOpenGroup" anchor="first"/>
101     </group>
102
103     <action id="NewElement" class="com.intellij.ide.actions.NewElementAction">
104       <add-to-group group-id="PlatformOpenProjectGroup" anchor="after" relative-to-action="NewDirectoryProject"/>
105     </action>
106
107     <action id="SaveAs" class="com.intellij.ide.actions.SaveAsAction" text="Save As..">
108       <add-to-group group-id="FileOpenGroup" anchor="after" relative-to-action="OpenFile"/>
109     </action>
110
111     <action id="RerunFailedTests" class="com.intellij.execution.testframework.actions.RerunFailedTestsAction"
112             icon="AllIcons.RunConfigurations.RerunFailedTests"/>
113
114     <group id="WelcomeScreen.Platform.NewProject">
115       <action id="WelcomeScreen.CreateDirectoryProject" class="com.jetbrains.python.newProject.steps.PyCharmNewProjectStep"
116               icon="AllIcons.Welcome.CreateNewProject"/>
117       <action id="WelcomeScreen.OpenDirectoryProject" class="com.intellij.ide.actions.OpenFileAction" icon="AllIcons.General.OpenProject"/>
118
119       <add-to-group group-id="WelcomeScreen.QuickStart" anchor="first"/>
120     </group>
121
122     <group>
123       <action id="MarkSourceRoot" class="com.intellij.ide.projectView.actions.MarkJavaSourceRootAction"/>
124       <action id="MarkExcludeRoot" class="com.intellij.ide.projectView.actions.MarkExcludeRootAction"/>
125       <action id="MarkAsContentRoot" class="com.intellij.ide.projectView.actions.MarkAsContentRootAction"/>
126       <action id="UnmarkRoot" class="com.intellij.ide.projectView.actions.UnmarkRootAction"/>
127       <add-to-group group-id="MarkRootGroup"/>
128     </group>
129
130     <action overrides="true" id="ForceStepInto" class="com.intellij.openapi.actionSystem.EmptyAction"/>
131
132     <group id="TypeHierarchyPopupMenu">
133     </group>
134
135     <action id="ReportProblem" class="com.jetbrains.python.ReportProblemAction" text="Report Problem...">
136       <add-to-group group-id="HelpMenu" anchor="before" relative-to-action="TechnicalSupport"/>
137     </action>
138
139     <action id="RenameProject" class="com.intellij.platform.renameProject.RenameProjectAction">
140       <add-to-group group-id="FileOpenGroup" anchor="after" relative-to-action="RenameFile"/>
141     </action>
142   </actions>
143 </idea-plugin>