9dd10fa6fa8779ffcdbe320c6480e92ae52a2939
[idea/community.git] / platform / platform-resources / src / idea / LangActions.xml
1 <component>
2   <actions>
3     <action id="IncrementalSearch" class="com.intellij.codeInsight.navigation.actions.IncrementalSearchAction"/>
4     <action id="AddToFavoritesPopup" class="com.intellij.ide.favoritesTreeView.actions.AddToFavoritesPopupAction"/>
5     <group id="AddToFavorites" class="com.intellij.ide.favoritesTreeView.actions.AddToFavoritesActionGroup" popup="true"/>
6     <group id="AddAllToFavorites" class="com.intellij.ide.favoritesTreeView.actions.AddAllToFavoritesActionGroup" popup="true"/>
7     <action id="AddNewFavoritesList" class="com.intellij.ide.favoritesTreeView.actions.AddNewFavoritesListAction"/>
8     <group id="SendToFavoritesGroup" class="com.intellij.ide.favoritesTreeView.actions.SendToFavoritesGroup" popup="true"/>
9
10     <action id="RunConfiguration" class="com.intellij.execution.actions.RunConfigurationsComboBoxAction"/>
11     <action id="ChooseRunConfiguration" class="com.intellij.execution.actions.ChooseRunConfigurationPopupAction" text="Run..." description="Choose and run configuration" icon="AllIcons.Toolwindows.ToolWindowRun"/>
12     <action id="ChooseDebugConfiguration" class="com.intellij.execution.actions.ChooseDebugConfigurationPopupAction" text="Debug..." description="Choose and debug configuration" icon="AllIcons.General.Debug"/>
13
14     <group id="RunContextGroup" popup="false">
15       <action id="CreateRunConfiguration" class="com.intellij.execution.actions.CreateAction"/>
16     </group>
17     <group id="RunContextPopupGroup" popup="false">
18       <reference ref="RunContextGroup"/>
19     </group>
20
21     <group id="LangCodeInsightActions">
22       <action id="EditorSelectWord" class="com.intellij.openapi.editor.actions.SelectWordAtCaretAction"/>
23       <action id="EditorUnSelectWord" class="com.intellij.openapi.editor.actions.UnselectWordAtCaretAction"/>
24
25       <add-to-group group-id="EditorActions" anchor="last"/>
26     </group>
27
28     <action id="ClassNameCompletion" class="com.intellij.codeInsight.completion.actions.ClassNameCompletionAction"/>
29
30     <group id="GenerateGroup">
31       <action id="OverrideMethods" class="com.intellij.codeInsight.generation.actions.OverrideMethodsAction"/>
32       <action id="ImplementMethods" class="com.intellij.codeInsight.generation.actions.ImplementMethodsAction"/>
33       <action id="DelegateMethods" class="com.intellij.codeInsight.generation.actions.DelegateMethodsAction"/>
34       <action id="GeneratePattern" class="com.intellij.codeInsight.generation.GenerateByPatternAction" text="Generate by Pattern..."/>
35     </group>
36
37     <action id="ShowIntentionActions" class="com.intellij.codeInsight.intention.actions.ShowIntentionActionsAction"/>
38
39     <action id="TogglePopupHints" class="com.intellij.ide.actions.TogglePopupHintsAction"/>
40     <action id="FindModal" class="com.intellij.openapi.editor.actions.FindAction" icon="AllIcons.Actions.Menu_find"/>
41
42     <action id="CodeInspection.OnEditor" class="com.intellij.codeInspection.actions.CodeInspectionOnEditorAction"/>
43
44     <action id="ActivateNavBar" class="com.intellij.ide.navigationToolbar.ActivateNavigationBarAction" popup="true"/>
45
46     <group id="CodeInsightEditorActions">
47       <reference ref="LookupActions"/>
48       <action id="EmacsStyleIndent" class="com.intellij.codeInsight.editorActions.EmacsStyleIndentAction"/>
49       <action id="EditorCodeBlockStart" class="com.intellij.codeInsight.editorActions.CodeBlockStartAction"/>
50       <action id="EditorCodeBlockEnd" class="com.intellij.codeInsight.editorActions.CodeBlockEndAction"/>
51       <action id="EditorMatchBrace" class="com.intellij.codeInsight.editorActions.MatchBraceAction"/>
52       <action id="EditorCodeBlockStartWithSelection" class="com.intellij.codeInsight.editorActions.CodeBlockStartWithSelectionAction"/>
53       <action id="EditorCodeBlockEndWithSelection" class="com.intellij.codeInsight.editorActions.CodeBlockEndWithSelectionAction"/>
54       <action id="EditorCompleteStatement" class="com.intellij.codeInsight.editorActions.smartEnter.SmartEnterAction"/>
55
56       <add-to-group group-id="EditorActions" anchor="last"/>
57     </group>
58
59     <!-- File -->
60
61     <action id="ReloadFromDisk" class="com.intellij.ide.actions.ReloadFromDiskAction">
62       <!--
63       <add-to-group group-id="FileMenu" anchor="after" relative-to-action="Synchronize"/>
64       -->
65     </action>
66
67
68     <group id="PrintExportGroup">
69       <separator/>
70       <action id="ExportToHTML" class="com.intellij.codeEditor.printing.ExportToHTMLAction"/>
71       <action id="Print" class="com.intellij.codeEditor.printing.PrintAction" icon="AllIcons.Graph.Print"/>
72       <reference ref="AddToFavorites"/>
73       
74       <add-to-group group-id="FileMenu" anchor="after" relative-to-action="InvalidateCaches"/>
75     </group>
76
77     <action id="ChangeTemplateDataLanguage" class="com.intellij.psi.templateLanguages.ChangeTemplateDataLanguageAction">
78       <add-to-group group-id="FileMenu" anchor="after" relative-to-action="ChangeFileEncodingGroup"/>
79     </action>
80
81     <group id="PowerSaveGroup">
82       <separator/>
83       <action id="TogglePowerSave" class="com.intellij.ide.actions.TogglePowerSaveAction"/>
84       <add-to-group group-id="FileMenu" anchor="after" relative-to-action="ToggleReadOnlyAttribute"/>
85     </group>
86
87     <!-- Edit -->
88     <action id="CopyReference" class="com.intellij.ide.actions.CopyReferenceAction">
89       <add-to-group group-id="CutCopyPasteGroup" anchor="after" relative-to-action="CopyPaths"/>
90       <add-to-group group-id="EditorTabPopupMenu" anchor="after" relative-to-action="CopyPaths"/>
91       <add-to-group group-id="EditorPopupMenu" anchor="after" relative-to-action="$Copy"/>
92     </action>
93
94     <group id="EditSelectWordGroup">
95       <reference ref="EditorSelectWord"/>
96       <reference ref="EditorUnSelectWord"/>
97
98       <add-to-group group-id="EditSelectGroup" anchor="last"/>
99     </group>
100
101     <group id="EditBookmarksGroup" popup="true">
102       <action id="ToggleBookmark" class="com.intellij.ide.bookmarks.actions.ToggleBookmarkAction"/>
103       <action id="ToggleBookmarkWithMnemonic" class="com.intellij.ide.bookmarks.actions.ToggleBookmarkWithMnemonicAction"/>
104       <action id="ShowBookmarks" class="com.intellij.ide.bookmarks.actions.BookmarksAction"/>
105       <action id="GotoNextBookmark" class="com.intellij.ide.bookmarks.actions.NextBookmarkAction"/>
106       <action id="GotoPreviousBookmark" class="com.intellij.ide.bookmarks.actions.PreviousBookmarkAction"/>
107       <separator/>
108
109       <add-to-group group-id="GoToMenu" anchor="after" relative-to-action="JumpToLastChange"/>
110     </group>
111
112     <group id="GoToCodeGroup">
113       <separator/>
114       <action id="SelectIn" class="com.intellij.ide.actions.SelectInAction"/>
115       <action id="ShowNavBar" class="com.intellij.ide.navigationToolbar.ShowNavBarAction"/>
116       <action id="GotoDeclaration" class="com.intellij.codeInsight.navigation.actions.GotoDeclarationAction"/>
117       <action id="GotoImplementation" class="com.intellij.codeInsight.navigation.actions.GotoImplementationAction"/>
118       <action id="GotoTypeDeclaration" class="com.intellij.codeInsight.navigation.actions.GotoTypeDeclarationAction"/>
119       <action id="GotoSuperMethod" class="com.intellij.codeInsight.navigation.actions.GotoSuperAction"/>
120       <action id="GotoTest" class="com.intellij.testIntegration.GotoTestOrCodeAction"/>
121       <action id="GotoRelated" class="com.intellij.ide.actions.GotoRelatedFileAction"/>
122       <separator/>
123       <action id="FileStructurePopup" class="com.intellij.ide.actions.ViewStructureAction"/>
124       <action id="ShowFilePath" class="com.intellij.ide.actions.ShowFilePathAction"/>
125       <group id="HierarchyGroup">
126         <action id="TypeHierarchy" class="com.intellij.ide.hierarchy.actions.BrowseTypeHierarchyAction"/>
127         <action id="MethodHierarchy" class="com.intellij.ide.hierarchy.actions.BrowseMethodHierarchyAction"/>
128         <action id="CallHierarchy" class="com.intellij.ide.hierarchy.actions.BrowseCallHierarchyAction"/>
129       </group>
130       <separator/>
131
132       <add-to-group group-id="GoToMenu" anchor="after" relative-to-action="EditBookmarksGroup"/>
133     </group>
134
135     <group id="GoToErrorGroup">
136       <separator/>
137       <action id="GotoNextError" class="com.intellij.codeInsight.daemon.impl.actions.GotoNextErrorAction"/>
138       <action id="GotoPreviousError" class="com.intellij.codeInsight.daemon.impl.actions.GotoPreviousErrorAction"/>
139
140       <add-to-group group-id="GoToMenu" anchor="after" relative-to-action="GoToCodeGroup"/>
141     </group>
142
143     <!-- View -->
144     <group id="QuickActions">
145       <separator/>
146       <action id="QuickImplementations" class="com.intellij.codeInsight.hint.actions.ShowImplementationsAction"/>
147       <action id="QuickJavaDoc" class="com.intellij.codeInsight.documentation.actions.ShowQuickDocInfoAction"/>
148
149       <add-to-group group-id="ViewMenu" anchor="after" relative-to-action="ToolWindowsGroup"/>
150     </group>
151
152     <group id="CodeEditorBaseGroup">
153       <group id="CodeEditorViewGroup">
154         <action id="ExternalJavaDoc" class="com.intellij.ide.actions.ExternalJavaDocAction"/>
155         <action id="ParameterInfo" class="com.intellij.codeInsight.hint.actions.ShowParameterInfoAction"/>
156         <action id="EditorContextInfo" class="com.intellij.codeInsight.hint.actions.ShowContainerInfoAction"/>
157         <action id="ShowErrorDescription" class="com.intellij.codeInsight.daemon.impl.actions.ShowErrorDescriptionAction"/>
158       </group>
159       <separator/>
160
161       <add-to-group group-id="ViewMenu" relative-to-action="QuickActions" anchor="after"/>
162     </group>
163     
164     <action id="FixDocComment" class="com.intellij.codeInsight.editorActions.FixDocCommentAction"/>
165
166     <action id="ViewNavigationBar" class="com.intellij.ide.actions.ViewNavigationBarAction">
167       <add-to-group group-id="UIToggleActions" relative-to-action="ViewStatusBar" anchor="after"/>
168     </action>
169
170     <action id="ViewImportPopups" class="com.intellij.openapi.editor.actions.ToggleShowImportPopupsAction">
171       <add-to-group group-id="EditorToggleActions"/>
172     </action>
173
174     <action id="ProjectViewChangeView" class="com.intellij.ide.projectView.actions.ChangeProjectViewAction"/>
175
176     <action id="RecentChanges" class="com.intellij.history.integration.ui.actions.RecentChangesAction">
177       <keyboard-shortcut first-keystroke="alt shift C" keymap="$default"/>
178       <add-to-group group-id="ViewRecentActions" anchor="last"/>
179     </action>
180
181     <!-- Go To -->
182     <group id="GoToTargetEx">
183       <action id="GotoClass" class="com.intellij.ide.actions.GotoClassAction"/>
184       <action id="GotoFile" class="com.intellij.ide.actions.GotoFileAction"/>
185       <action id="GotoSymbol" class="com.intellij.ide.actions.GotoSymbolAction"/>
186       <action id="GotoCustomRegion" class="com.intellij.lang.customFolding.GotoCustomRegionAction"/>
187
188       <add-to-group group-id="GoToMenu" anchor="first"/>
189     </group>
190
191     <group id="GoToMenuEx">
192       <separator/>
193       <action id="MethodDown" class="com.intellij.codeInsight.navigation.actions.MethodDownAction"/>
194       <action id="MethodUp" class="com.intellij.codeInsight.navigation.actions.MethodUpAction"/>
195       <separator/>
196       <add-to-group group-id="GoToMenu" anchor="after" relative-to-action="GoToPreviousError"/>
197     </group>
198
199
200     <!-- Code -->
201     <group id="CodeMenu" popup="true">
202       <reference ref="OverrideMethods"/>
203       <reference ref="ImplementMethods"/>
204       <action id="Generate" class="com.intellij.codeInsight.generation.actions.GenerateAction"/>
205       <separator/>
206       <action id="SurroundWith" class="com.intellij.codeInsight.generation.actions.SurroundWithAction"/>
207       <action id="Unwrap" class="com.intellij.codeInsight.unwrap.UnwrapAction"/>
208       <separator/>
209
210       <group id="CodeCompletionGroup" class="com.intellij.codeInsight.completion.actions.CodeCompletionGroup" popup="true">
211         <action id="CodeCompletion" class="com.intellij.codeInsight.completion.actions.CodeCompletionAction"/>
212         <action id="SmartTypeCompletion" class="com.intellij.codeInsight.completion.actions.SmartCodeCompletionAction"/>
213         <separator/>
214         <action id="HippieCompletion" class="com.intellij.codeInsight.completion.actions.HippieCompletionAction"/>
215         <action id="HippieBackwardCompletion" class="com.intellij.codeInsight.completion.actions.HippieBackwardCompletionAction"/>
216       </group>
217
218       <group id="FoldingGroup" popup="true">
219         <action id="ExpandRegion" class="com.intellij.codeInsight.folding.impl.actions.ExpandRegionAction"/>
220         <action id="CollapseRegion" class="com.intellij.codeInsight.folding.impl.actions.CollapseRegionAction"/>
221         <separator/>
222         <action id="ExpandAllRegions" class="com.intellij.codeInsight.folding.impl.actions.ExpandAllRegionsAction"/>
223         <action id="CollapseAllRegions" class="com.intellij.codeInsight.folding.impl.actions.CollapseAllRegionsAction"/>
224         <separator/>
225         <group id="LanguageSpecificFoldingGroup">
226           <action id="ExpandDocComments" class="com.intellij.codeInsight.folding.impl.actions.ExpandDocCommentsAction"/>
227           <action id="CollapseDocComments" class="com.intellij.codeInsight.folding.impl.actions.CollapseDocCommentsAction"/>
228         </group>
229         <separator/>
230         <action id="CollapseSelection" class="com.intellij.codeInsight.folding.impl.actions.CollapseSelectionAction"/>
231       </group>
232
233       <separator/>
234
235       <action id="InsertLiveTemplate" class="com.intellij.codeInsight.template.impl.actions.ListTemplatesAction"/>
236       <action id="SurroundWithLiveTemplate" class="com.intellij.codeInsight.template.impl.actions.SurroundWithTemplateAction"/>
237       <separator/>
238
239       <group id="CommentGroup">
240         <action id="CommentByLineComment" class="com.intellij.codeInsight.generation.actions.CommentByLineCommentAction"/>
241         <action id="CommentByBlockComment" class="com.intellij.codeInsight.generation.actions.CommentByBlockCommentAction"/>
242       </group>
243
244       <group id="CodeFormatGroup">
245         <action id="ReformatCode" class="com.intellij.codeInsight.actions.ReformatCodeAction"/>
246         <action id="AutoIndentLines" class="com.intellij.codeInsight.generation.actions.AutoIndentLinesAction"/>
247         <action id="OptimizeImports" class="com.intellij.codeInsight.actions.OptimizeImportsAction"/>
248         <action id="RearrangeCode" class="com.intellij.application.options.codeStyle.arrangement.action.RearrangeCodeAction"/>
249       </group>
250
251       <separator/>
252       <action id="MoveStatementDown" class="com.intellij.codeInsight.editorActions.moveUpDown.MoveStatementDownAction"/>
253       <action id="MoveStatementUp" class="com.intellij.codeInsight.editorActions.moveUpDown.MoveStatementUpAction"/>
254       <action id="MoveLineDown" class="com.intellij.codeInsight.editorActions.moveUpDown.MoveLineDownAction"/>
255       <action id="MoveLineUp" class="com.intellij.codeInsight.editorActions.moveUpDown.MoveLineUpAction"/>
256       <separator/>
257       <add-to-group group-id="MainMenu" anchor="after" relative-to-action="GoToMenu"/>
258     </group>
259
260     <!-- Refactor -->
261     <group id="RefactoringMenu" popup="true">
262       <action id="Refactorings.QuickListPopupAction"
263               class = "com.intellij.refactoring.actions.RefactoringQuickListPopupAction"
264               text = "Refactor This..." description="Context aware popup with list of refactoring actions"/>
265       <action id="RenameElement" class="com.intellij.refactoring.actions.RenameElementAction"/>
266       <action id="ChangeSignature" class="com.intellij.refactoring.actions.ChangeSignatureAction"/>
267       <separator/>
268       <action id="Move" class="com.intellij.refactoring.actions.MoveAction"/>
269       <action id="CopyElement" class="com.intellij.ide.actions.CopyElementAction"/>
270       <action id="CloneElement" class="com.intellij.ide.actions.CloneElementAction"/>
271       <action id="SafeDelete" class="com.intellij.refactoring.actions.SafeDeleteAction"/>
272       <separator/>
273       <group id="IntroduceActionsGroup" popup="true">
274         <action id="IntroduceVariable" class="com.intellij.refactoring.actions.IntroduceVariableAction"/>
275         <action id="IntroduceConstant" class="com.intellij.refactoring.actions.IntroduceConstantAction"/>
276         <action id="IntroduceField" class="com.intellij.refactoring.actions.IntroduceFieldAction"/>
277         <action id="IntroduceParameter" class="com.intellij.refactoring.actions.IntroduceParameterAction"/>
278         <separator/>
279         <action id="ExtractMethod" class="com.intellij.refactoring.actions.ExtractMethodAction"/>
280         <separator/>
281         <action id="ExtractClass" class="com.intellij.refactoring.actions.ExtractClassAction"/>
282         <action id="ExtractInclude" class="com.intellij.refactoring.actions.ExtractIncludeAction"/>
283         <action id="ExtractInterface" class="com.intellij.refactoring.actions.ExtractInterfaceAction"/>
284         <action id="ExtractSuperclass" class="com.intellij.refactoring.actions.ExtractSuperclassAction"/>
285         <action id="ExtractModule" class="com.intellij.refactoring.actions.ExtractModuleAction"/>
286       </group>
287       
288       <action id="Inline" class="com.intellij.refactoring.actions.InlineAction"/>
289       <separator/>
290       <action id="MembersPullUp" class="com.intellij.refactoring.actions.PullUpAction"/>
291       <action id="MemberPushDown" class="com.intellij.refactoring.actions.PushDownAction"/>
292       <add-to-group group-id="MainMenu" anchor="after" relative-to-action="CodeMenu"/>
293     </group>
294
295     <!-- Run -->
296     <group id="RunMenu" popup="true">
297       <group id="RunnerActions"/>
298       <reference ref="ChooseRunConfiguration"/>
299       <reference ref="ChooseDebugConfiguration"/>
300       <action id="editRunConfigurations" class="com.intellij.execution.actions.EditRunConfigurationsAction"/>
301       <action id="Stop" class="com.intellij.execution.actions.StopAction" icon="AllIcons.Actions.Suspend"/>
302
303       <add-to-group group-id="MainMenu" anchor="after" relative-to-action="RefactoringMenu"/>
304     </group>
305
306
307     <!-- Tools -->
308     <group id="ToolsBasicGroup">
309       <action id="SaveAsTemplate" class="com.intellij.codeInsight.template.actions.SaveAsTemplateAction"/>
310       <action id="SaveFileAsTemplate" class="com.intellij.ide.actions.SaveFileAsTemplateAction"/>
311       <separator/>
312
313       <add-to-group group-id="ToolsMenu" anchor="first"/>
314     </group>
315
316     <group id="ExternalToolsGroup" class="com.intellij.tools.ExternalToolsGroup">
317       <add-to-group group-id="ToolsMenu" anchor="last"/>
318     </group>
319
320     <group id="NewGroup" popup="true">
321       <action id="NewFile" class="com.intellij.ide.actions.CreateFileAction"/>
322       <action id="NewDir" class="com.intellij.ide.actions.CreateDirectoryOrPackageAction"/>
323       <separator/>
324       <action id="NewFromTemplate" class="com.intellij.ide.fileTemplates.actions.CreateFromTemplateGroup"/>
325     </group>
326
327     <group id="WeighingNewGroup" class="com.intellij.ide.actions.WeighingNewActionGroup"/>
328
329     <!-- Toolbar -->
330     <!--
331     <group id="ToolbarNewElement">
332       <action id="NewElementToolbarAction" class="com.intellij.ide.actions.NewElementToolbarAction" icon="/general/add.png"/>
333       <add-to-group group-id="MainToolBar" anchor="first"/>
334     </group>
335     -->
336
337     <group id="ToolbarFindGroup">
338       <separator/>
339
340       <reference ref="Find"/>
341       <reference ref="Replace"/>
342
343       <add-to-group group-id="MainToolBar" relative-to-action="$Paste" anchor="after"/>
344     </group>
345
346     <group id="ToolbarRunGroup">
347       <separator/>
348       <reference ref="RunConfiguration"/>
349       <reference ref="RunnerActions"/>
350
351       <add-to-group group-id="MainToolBar" relative-to-action="Forward" anchor="after"/>
352     </group>
353
354     <group id="NavBarToolBar">
355       <reference ref="ToolbarRunGroup"/>
356     </group>
357
358     <group id="Bookmarks">
359       <reference ref="ToggleBookmark"/>
360       <reference ref="ShowBookmarks"/>
361       <reference ref="GotoNextBookmark"/>
362       <reference ref="GotoPreviousBookmark"/>
363
364       <action id="GotoBookmark0" class="com.intellij.ide.bookmarks.actions.GotoBookmark0Action"/>
365       <action id="GotoBookmark1" class="com.intellij.ide.bookmarks.actions.GotoBookmark1Action"/>
366       <action id="GotoBookmark2" class="com.intellij.ide.bookmarks.actions.GotoBookmark2Action"/>
367       <action id="GotoBookmark3" class="com.intellij.ide.bookmarks.actions.GotoBookmark3Action"/>
368       <action id="GotoBookmark4" class="com.intellij.ide.bookmarks.actions.GotoBookmark4Action"/>
369       <action id="GotoBookmark5" class="com.intellij.ide.bookmarks.actions.GotoBookmark5Action"/>
370       <action id="GotoBookmark6" class="com.intellij.ide.bookmarks.actions.GotoBookmark6Action"/>
371       <action id="GotoBookmark7" class="com.intellij.ide.bookmarks.actions.GotoBookmark7Action"/>
372       <action id="GotoBookmark8" class="com.intellij.ide.bookmarks.actions.GotoBookmark8Action"/>
373       <action id="GotoBookmark9" class="com.intellij.ide.bookmarks.actions.GotoBookmark9Action"/>
374
375       <action id="ToggleBookmark0" class="com.intellij.ide.bookmarks.actions.ToggleBookmark0Action"/>
376       <action id="ToggleBookmark1" class="com.intellij.ide.bookmarks.actions.ToggleBookmark1Action"/>
377       <action id="ToggleBookmark2" class="com.intellij.ide.bookmarks.actions.ToggleBookmark2Action"/>
378       <action id="ToggleBookmark3" class="com.intellij.ide.bookmarks.actions.ToggleBookmark3Action"/>
379       <action id="ToggleBookmark4" class="com.intellij.ide.bookmarks.actions.ToggleBookmark4Action"/>
380       <action id="ToggleBookmark5" class="com.intellij.ide.bookmarks.actions.ToggleBookmark5Action"/>
381       <action id="ToggleBookmark6" class="com.intellij.ide.bookmarks.actions.ToggleBookmark6Action"/>
382       <action id="ToggleBookmark7" class="com.intellij.ide.bookmarks.actions.ToggleBookmark7Action"/>
383       <action id="ToggleBookmark8" class="com.intellij.ide.bookmarks.actions.ToggleBookmark8Action"/>
384       <action id="ToggleBookmark9" class="com.intellij.ide.bookmarks.actions.ToggleBookmark9Action"/>
385
386     </group>
387
388     <group id="ProjectViewPopupMenuRefactoringGroup">
389       <reference ref="RefactoringMenu"/>
390     </group>
391
392     <group id="ProjectViewPopupMenuModifyGroup">
393       <reference ref="$Delete"/>
394       <action id="ExcludeFromProject" class="com.intellij.openapi.file.exclude.ui.ExcludeFromProjectAction"/>
395       <group id="MarkFileAs" class="com.intellij.openapi.file.exclude.ui.MarkFileGroup">
396         <action id="MarkAsPlainTextAction" class="com.intellij.openapi.file.exclude.ui.MarkAsPlainTextAction"/>
397         <action id="MarkAsOriginalTypeAction" class="com.intellij.openapi.file.exclude.ui.MarkAsOriginalTypeAction"/>
398       </group>
399     </group>
400
401     <group id="ProjectViewPopupMenuRunGroup">
402       <reference ref="RunContextPopupGroup"/>
403     </group>
404
405     <group id="ProjectViewPopupMenuSettingsGroup">
406       <group id="MarkRootGroup" class="com.intellij.ide.projectView.actions.MarkRootGroup" popup="true">
407       </group>
408     </group>
409
410     <group id="ProjectViewPopupMenu">
411       <reference ref="WeighingNewGroup"/>
412       <action id="AssociateWithFileType" class="com.intellij.ide.actions.AssociateFileType"/>
413       <separator/>
414       <reference ref="CutCopyPasteGroup"/>
415       <reference ref="EditSource"/>
416       <reference ref="ChangesView.ApplyPatch"/>
417       <separator/>
418       <reference ref="FindUsages"/>
419       <reference ref="FindInPath"/>
420       <reference ref="ReplaceInPath"/>
421       <separator/>
422       <reference ref="ProjectViewPopupMenuRefactoringGroup"/>
423       <separator/>
424       <reference ref="AddToFavorites"/>
425       <reference ref="MoveToChangeList"/>
426       <separator/>
427       <reference ref="ProjectViewPopupMenuModifyGroup"/>
428       <separator/>
429       <reference ref="ProjectViewPopupMenuRunGroup"/>
430       <separator/>
431       <reference ref="VersionControlsGroup"/>
432       <action id="SynchronizeCurrentFile" class="com.intellij.ide.actions.SynchronizeCurrentFileAction" icon="AllIcons.Actions.Refresh"/>
433       <separator/>
434       <action id="RevealIn" class="com.intellij.ide.actions.RevealFileAction"/>
435       <reference ref="ShowFilePath"/>
436       <separator/>
437       <reference ref="CompareTwoFiles"/>
438       <reference ref="CompareFileWithEditor"/>
439       <reference ref="CompareDirs"/>
440       <reference ref="CompareJars"/>
441       <separator/>
442       <reference ref="ExternalToolsGroup"/>
443       <separator/>
444       <reference ref="ProjectViewPopupMenuSettingsGroup"/>
445     </group>
446
447     <group id="NavbarPopupMenu">
448       <reference ref="WeighingNewGroup"/>
449       <reference ref="AssociateWithFileType"/>
450       <separator/>
451       <reference ref="CutCopyPasteGroup"/>
452       <reference ref="EditSource"/>
453       <reference ref="ChangesView.ApplyPatch"/>
454       <separator/>
455       <reference ref="FindUsages"/>
456       <reference ref="FindInPath"/>
457       <reference ref="ReplaceInPath"/>
458       <separator/>
459       <reference ref="ProjectViewPopupMenuRefactoringGroup"/>
460       <separator/>
461       <reference ref="AddToFavorites"/>
462       <reference ref="MoveToChangeList"/>
463       <separator/>
464       <reference ref="ProjectViewPopupMenuModifyGroup"/>
465       <separator/>
466       <reference ref="ProjectViewPopupMenuRunGroup"/>
467       <separator/>
468       <reference ref="VersionControlsGroup"/>
469       <reference ref="SynchronizeCurrentFile"/>
470       <separator/>
471       <reference ref="ExternalToolsGroup"/>
472       <separator/>
473       <reference ref="ProjectViewPopupMenuSettingsGroup"/>
474     </group>
475
476     <group id="FavoritesViewPopupMenu">
477       <reference ref="NewGroup"/>
478       <reference ref="AssociateWithFileType"/>
479       <separator/>
480       <reference ref="CutCopyPasteGroup"/>
481       <reference ref="EditSource"/>
482       <reference ref="ChangesView.ApplyPatch"/>
483       <separator/>
484       <reference ref="FindUsages"/>
485       <reference ref="FindInPath"/>
486       <reference ref="ReplaceInPath"/>
487       <separator/>
488       <reference ref="ProjectViewPopupMenuRefactoringGroup"/>
489       <separator/>
490       <action id="RenameFavoritesList" class="com.intellij.ide.favoritesTreeView.actions.RenameFavoritesListAction"/>
491       <action id="RemoveFromFavorites" class="com.intellij.ide.favoritesTreeView.actions.DeleteFromFavoritesAction"/>
492       <action id="RemoveFavoritesList" class="com.intellij.ide.favoritesTreeView.actions.DeleteFavoritesListAction"/>
493       <action id="RemoveAllFavoritesListsButThis" class="com.intellij.ide.favoritesTreeView.actions.DeleteAllFavoritesListsButThisAction"/>
494       <reference ref="AddToFavorites"/>
495       <reference ref="SendToFavoritesGroup"/>
496       <reference ref="MoveToChangeList"/>
497       <separator/>
498       <reference ref="ProjectViewPopupMenuModifyGroup"/>
499       <separator/>
500       <reference ref="ProjectViewPopupMenuRunGroup"/>
501       <separator/>
502       <reference ref="VersionControlsGroup"/>
503       <reference ref="SynchronizeCurrentFile"/>
504       <separator/>
505       <reference ref="RevealIn"/>
506       <reference ref="ShowFilePath"/>
507       <separator/>
508       <reference ref="CompareTwoFiles"/>
509       <reference ref="CompareFileWithEditor"/>
510       <separator/>
511       <reference ref="ExternalToolsGroup"/>
512       <separator/>
513       <reference ref="ProjectViewPopupMenuSettingsGroup"/>
514     </group>
515
516     <group id="ScopeViewPopupMenu">
517       <reference ref="ProjectViewPopupMenu"/>
518       <separator/>
519       <action id="ScopeView.EditScopes" class="com.intellij.ide.scopeView.EditScopesAction"/>
520     </group>
521
522     <group id="StructureViewPopupMenu">
523       <reference ref="EditSource"/>
524       <separator/>
525       <reference ref="FindUsages"/>
526       <reference ref="RefactoringMenu"/>
527       <separator/>
528       <reference ref="AddToFavorites"/>
529       <reference ref="MoveToChangeList"/>
530       <separator/>
531       <separator/>
532       <reference ref="CutCopyPasteGroup"/>
533       <separator/>
534       <reference ref="RunContextPopupGroup"/>
535       <reference ref="VersionControlsGroup"/>
536       <separator/>
537       <reference ref="CompareTwoFiles"/>
538     </group>
539
540     <group id="EditorPopupMenu1">
541       <separator/>
542       <reference ref="FindUsages"/>
543       <reference ref="RefactoringMenu"/>
544       <separator/>
545       <reference ref="FoldingGroup"/>
546       <separator/>
547
548       <add-to-group group-id="EditorPopupMenu" relative-to-action="MoveToChangeList" anchor="before"/>
549     </group>
550
551     <group id="EditorLangPopupMenu">
552       <separator/>
553       <group id="EditorPopupMenu.GoTo" popup="true">
554         <reference ref="ShowNavBar"/>
555         <reference ref="GotoDeclaration"/>
556         <reference ref="GotoImplementation"/>
557         <reference ref="GotoTypeDeclaration"/>
558         <reference ref="GotoSuperMethod"/>
559         <reference ref="GotoTest"/>
560       </group>
561       <reference ref="Generate"/>
562       <separator/>
563
564       <group id="EditorPopupMenu.Run">
565         <reference ref="RunContextPopupGroup"/>
566       </group>
567       <separator/>
568       <reference ref="VersionControlsGroup"/>
569       <separator/>
570       <reference ref="ExternalToolsGroup"/>
571
572       <add-to-group group-id="EditorPopupMenu" relative-to-action="CompareClipboardWithSelection" anchor="before"/>
573     </group>
574
575     <group id="EditorTabPopupMenuEx">
576       <separator/>
577       <reference ref="AddToFavorites"/>
578       <reference ref="AddAllToFavorites"/>
579       <reference ref="MoveToChangeList"/>
580       <separator/>
581       <reference ref="RunContextPopupGroup"/>
582       <reference ref="VersionControlsGroup"/>
583       <separator/>
584       <reference ref="ExternalToolsGroup"/>
585
586       <add-to-group group-id="EditorTabPopupMenu" anchor="last"/>
587     </group>
588
589     <reference ref="ChangeTemplateDataLanguage">
590       <add-to-group group-id="EditorPopupMenu" anchor="after" relative-to-action="ChangeFileEncodingGroup"/>
591     </reference>
592
593     <group id="UsageView.Popup">
594       <reference ref="EditSource"/>
595       <action id="UsageView.Include" class="com.intellij.usages.actions.IncludeUsageAction"/>
596       <action id="UsageView.Exclude" class="com.intellij.usages.actions.ExcludeUsageAction" use-shortcut-of="$Delete"/>
597       <separator/>
598       <action id="UsageView.ShowRecentFindUsages" class="com.intellij.find.impl.ShowRecentFindUsagesAction" icon="AllIcons.Actions.Back"
599               use-shortcut-of="RecentFiles"/>
600     </group>
601
602     <action id="UsageView.ImportToFavorites" class="com.intellij.ide.favoritesTreeView.ImportUsagesAction"/>
603     <action id="NewElementSamePlace" class="com.intellij.ide.actions.NewElementSamePlaceAction"/>
604
605     <action id="ChangeCodeStyleScheme" class="com.intellij.ide.actions.QuickChangeCodeStyleSchemeAction">
606       <add-to-group group-id="ChangeScheme" anchor="after" relative-to-action="ChangeColorScheme"/>
607     </action>
608
609     <action id="TypeHierarchyBase.BaseOnThisType" text="Base on This Type" class="com.intellij.ide.hierarchy.TypeHierarchyBrowserBase$BaseOnThisTypeAction"/>
610     <action id="TypeHierarchy.Class" class="com.intellij.ide.hierarchy.ViewClassHierarchyAction"/>
611     <action id="TypeHierarchy.Subtypes" class="com.intellij.ide.hierarchy.ViewSubtypesHierarchyAction"/>
612     <action id="TypeHierarchy.Supertypes" class="com.intellij.ide.hierarchy.ViewSupertypesHierarchyAction"/>
613
614     <group id="DebugMainMenu">
615       <separator/>
616       <action id="StepOver" class="com.intellij.xdebugger.impl.actions.StepOverAction" icon="AllIcons.Actions.TraceOver"/>
617       <action id="ForceStepOver" class="com.intellij.xdebugger.impl.actions.ForceStepOverAction" icon="AllIcons.Debugger.Actions.Force_step_over"/>
618       <action id="StepInto" class="com.intellij.xdebugger.impl.actions.StepIntoAction" icon="AllIcons.Actions.TraceInto"/>
619       <action id="ForceStepInto" class="com.intellij.xdebugger.impl.actions.ForceStepIntoAction" icon="AllIcons.Debugger.Actions.Force_step_into"/>
620       <action id="SmartStepInto" class="com.intellij.xdebugger.impl.actions.SmartStepIntoAction" icon="AllIcons.Actions.TraceInto"/>
621       <action id="StepOut" class="com.intellij.xdebugger.impl.actions.StepOutAction" icon="AllIcons.Actions.StepOut"/>
622       <action id="RunToCursor" class="com.intellij.xdebugger.impl.actions.RunToCursorAction" icon="AllIcons.Actions.RunToCursor"/>
623       <action id="ForceRunToCursor" class="com.intellij.xdebugger.impl.actions.ForceRunToCursorAction" icon="AllIcons.Debugger.Actions.Force_run_to_cursor"/>
624       <action id="Pause" class="com.intellij.xdebugger.impl.actions.PauseAction" icon="AllIcons.Actions.Pause"/>
625       <action id="Resume" class="com.intellij.xdebugger.impl.actions.ResumeAction" icon="AllIcons.Actions.Resume"/>
626       <separator/>
627       <action id="EvaluateExpression" class="com.intellij.xdebugger.impl.actions.EvaluateAction" icon="AllIcons.Debugger.EvaluateExpression"/>
628       <action id="QuickEvaluateExpression" class="com.intellij.xdebugger.impl.actions.QuickEvaluateAction"/>
629       <action id="ShowExecutionPoint" class="com.intellij.xdebugger.impl.actions.ShowExecutionPointAction"
630               icon="AllIcons.Debugger.ShowCurrentFrame"/>
631       <separator/>
632       <action id="ToggleLineBreakpoint" class="com.intellij.xdebugger.impl.actions.ToggleLineBreakpointAction"/>
633       <action id="EditBreakpoint" class="com.intellij.xdebugger.impl.actions.EditBreakpointAction"/>
634       <action id="ViewBreakpoints" class="com.intellij.xdebugger.impl.actions.ViewBreakpointsAction" icon="AllIcons.Debugger.ViewBreakpoints"/>
635       <separator/>
636
637       <add-to-group group-id="RunMenu" anchor="last"/>
638     </group>
639
640     <action id="Debugger.AddToWatch" class="com.intellij.xdebugger.impl.actions.AddToWatchesAction" icon="AllIcons.Debugger.AddToWatch"/>
641
642     <group id="EditorPopupMenuDebug">
643       <separator/>
644       <reference ref="EvaluateExpression"/>
645       <reference ref="RunToCursor"/>
646       <reference ref="ForceRunToCursor"/>
647       <reference ref="Debugger.AddToWatch"/>
648       <separator/>
649
650       <add-to-group group-id="EditorLangPopupMenu" relative-to-action="EditorPopupMenu.Run" anchor="before"/>
651     </group>
652
653
654     <group id="XDebugger.Actions">
655       <action id="XDebugger.SetValue" class="com.intellij.xdebugger.impl.ui.tree.actions.XSetValueAction"/>
656       <action id="XDebugger.CopyValue" class="com.intellij.xdebugger.impl.ui.tree.actions.XCopyValueAction"/>
657       <action id="XDebugger.CompareValueWithClipboard" class="com.intellij.xdebugger.impl.ui.tree.actions.XCompareWithClipboardAction"/>
658       <action id="XDebugger.CopyName" class="com.intellij.xdebugger.impl.ui.tree.actions.XCopyNameAction"/>
659       <action id="XDebugger.Inspect" class="com.intellij.xdebugger.impl.ui.tree.actions.XInspectAction"/>
660       <action id="XDebugger.JumpToSource" class="com.intellij.xdebugger.impl.ui.tree.actions.XJumpToSourceAction"/>
661       <action id="XDebugger.AddToWatches" class="com.intellij.xdebugger.impl.ui.tree.actions.XAddToWatchesAction" icon="AllIcons.Debugger.AddToWatch"/>
662       <action id="XDebugger.NewWatch" class="com.intellij.xdebugger.impl.frame.actions.XNewWatchAction" icon="AllIcons.Debugger.NewWatch"/>
663       <action id="XDebugger.EditWatch" class="com.intellij.xdebugger.impl.frame.actions.XEditWatchAction"/>
664       <action id="XDebugger.RemoveWatch" class="com.intellij.xdebugger.impl.frame.actions.XRemoveWatchAction" icon="AllIcons.Actions.Delete"/>
665       <action id="XDebugger.RemoveAllWatches" class="com.intellij.xdebugger.impl.frame.actions.XRemoveAllWatchesAction"/>
666       <action id="XDebugger.MuteBreakpoints" class="com.intellij.xdebugger.impl.actions.MuteBreakpointAction"
667               icon="AllIcons.Debugger.MuteBreakpoints"/>
668       <action id="XDebugger.AutoTooltip" class="com.intellij.xdebugger.impl.actions.ValueTooltipAutoShowAction"/>
669       <action id="XDebugger.ToggleSortValues" class="com.intellij.xdebugger.impl.ui.tree.actions.SortValuesToggleAction" icon="AllIcons.ObjectBrowser.Sorted"/>
670       <action id="Debugger.MarkObject" class="com.intellij.xdebugger.impl.actions.MarkObjectAction"/>
671     </group>
672
673     <group id="XDebugger.ToolWindow.TopToolbar">
674       <reference ref="ShowExecutionPoint"/>
675       <separator/>
676       <reference ref="StepOver"/>
677       <reference ref="StepInto"/>
678       <reference ref="ForceStepInto"/>
679       <reference ref="StepOut"/>
680       <reference ref="RunToCursor"/>
681       <separator/>
682       <reference ref="EvaluateExpression" />
683     </group>
684
685     <group id="XDebugger.ToolWindow.LeftToolbar">
686       <reference ref="Resume"/>
687       <reference ref="Pause"/>
688       <reference ref="Stop"/>
689       <separator/>
690       <reference ref="ViewBreakpoints"/>
691       <reference ref="XDebugger.MuteBreakpoints"/>
692     </group>
693
694     <group id="XDebugger.ValueGroup" popup="false">
695       <reference ref="XDebugger.Inspect"/>
696       <reference ref="XDebugger.SetValue"/>
697       <reference ref="XDebugger.CopyValue"/>
698       <reference ref="XDebugger.CompareValueWithClipboard"/>
699       <reference ref="XDebugger.CopyName"/>
700       <reference ref="Debugger.MarkObject"/>
701     </group>
702
703     <group id="XDebugger.Evaluation.Dialog.Tree.Popup">
704       <reference ref="XDebugger.ValueGroup"/>
705     </group>
706
707     <group id="XDebugger.Variables.Tree.Popup">
708       <reference ref="XDebugger.ValueGroup"/>
709       <reference ref="XDebugger.JumpToSource"/>
710       <reference ref="XDebugger.AddToWatches"/>
711     </group>
712
713     <group id="XDebugger.Variables.Tree.Toolbar">
714     </group>
715
716     <group id="XDebugger.Watches.Tree.Popup">
717       <reference ref="XDebugger.NewWatch"/>
718       <reference ref="XDebugger.RemoveWatch"/>
719       <reference ref="XDebugger.RemoveAllWatches"/>
720       <reference ref="XDebugger.EditWatch"/>
721       <reference ref="XDebugger.ValueGroup"/>
722     </group>
723
724     <group id="XDebugger.Watches.Tree.Toolbar">
725       <reference ref="XDebugger.NewWatch"/>
726       <reference ref="XDebugger.RemoveWatch"/>
727     </group>
728
729     <group id="XDebugger.Inspect.Tree.Popup">
730       <reference ref="XDebugger.ValueGroup"/>
731     </group>
732
733     <group id="XDebugger.Value.Hint.Tree.Popup">
734       <reference ref="XDebugger.ValueGroup"/>
735       <reference ref="XDebugger.AddToWatches"/>
736     </group>
737
738     <group id="XDebugger.Settings" icon="AllIcons.General.SecondaryGroup" popup="true">
739
740     </group>
741
742     <group id="RunnerLayoutActions">
743       <group id="Runner.Layout">
744         <action id="Runner.RestoreLayout" class="com.intellij.execution.ui.layout.actions.RestoreLayoutAction"
745                 icon="AllIcons.Debugger.RestoreLayout"/>
746       </group>
747
748       <group id="Runner.View.Popup">
749         <action id="Runner.MinimizeView" class="com.intellij.execution.ui.layout.actions.MinimizeViewAction" icon="AllIcons.Actions.Minimize"/>
750         <separator/>
751         <action id="Runner.CloseView" class="com.intellij.execution.ui.layout.actions.CloseViewAction" icon="AllIcons.Actions.Cross"/>
752         <action id="Runner.CloseOtherViews" class="com.intellij.execution.ui.layout.actions.CloseOtherViewsAction" icon="AllIcons.Actions.Cross"/>
753         <action id="Runner.CloseAllViews" class="com.intellij.execution.ui.layout.actions.CloseAllViewsAction" icon="AllIcons.Actions.Cross"/>
754         <separator/>
755         <group id="Runner.Focus">
756           <action id="Runner.FocusOnStartup" class="com.intellij.execution.ui.actions.FocusOnStartAction"/>
757         </group>
758       </group>
759
760
761       <group id="Runner.View.Toolbar">
762         <reference ref="Runner.MinimizeView"/>
763         <reference ref="Runner.CloseView"/>
764       </group>
765     </group>
766
767     <group id="LocalHistory" class="com.intellij.history.integration.ui.actions.LocalHistoryGroup" popup="true">
768       <action id="LocalHistory.ShowHistory" class="com.intellij.history.integration.ui.actions.ShowHistoryAction"/>
769       <action id="LocalHistory.ShowSelectionHistory" class="com.intellij.history.integration.ui.actions.ShowSelectionHistoryAction"/>
770       <action id="LocalHistory.PutLabel" class="com.intellij.history.integration.ui.actions.PutLabelAction"/>
771
772       <add-to-group group-id="VersionControlsGroup" anchor="first"/>
773       <add-to-group group-id="VcsGroups" anchor="first"/>
774     </group>
775
776     <group id="TestTreePopupMenu">
777       <reference ref="RunContextGroup"/>
778       <separator/>
779       <reference ref="EditSource"/>
780       <reference ref="ViewSource"/>
781     </group>
782
783     <group id="ConsoleView.PopupMenu">
784       <reference ref="ConsoleEditorPopupMenu"/>
785       <separator/>
786       <action id="ConsoleView.ClearAll" class="com.intellij.execution.impl.ConsoleViewImpl$ClearAllAction"/>
787     </group>
788
789     <group>
790       <action class="com.intellij.execution.testframework.actions.ViewAssertEqualsDiffAction" text="View assertEquals Difference" id="openAssertEqualsDiff"/>
791       <separator/>
792       <add-to-group anchor="first" group-id="TestTreePopupMenu"/>
793     </group>
794     <!-- SM Test Runner Actions -->
795     <group id="SMTestRunnerTestsTree">
796       <separator/>
797       <action id="com.intellij.execution.testframework.sm.runner.ui.statistics.ShowStatisticsAction"
798               class="com.intellij.execution.testframework.sm.runner.ui.statistics.ShowStatisticsAction"
799               text="Show Statistics"/>
800       <add-to-group group-id="TestTreePopupMenu" anchor="last"/>
801     </group>
802     <group id="SMTestRunnerStatistics">
803       <separator/>
804       <action id="com.intellij.execution.testframework.sm.runner.ui.statistics.ShowTestProxy"
805               class="com.intellij.execution.testframework.sm.runner.ui.statistics.ShowTestProxy"
806               text="Navigate to Test"/>
807       <add-to-group group-id="TestTreePopupMenu" anchor="last"/>
808     </group>
809
810     <group text="Lang internal actions" internal="true">
811       <action id="DumpLookupElementWeights" internal="true" class="com.intellij.internal.DumpLookupElementWeights" text="Dump lookup element weights"/>
812       <add-to-group group-id="Internal" anchor="last"/>
813     </group>
814
815     <action id="Arrangement.Rule.Add"
816             class="com.intellij.application.options.codeStyle.arrangement.action.AddArrangementRuleAction"
817             icon="AllIcons.ToolbarDecorator.Add"/>
818     <action id="Arrangement.Rule.Remove"
819             class="com.intellij.application.options.codeStyle.arrangement.action.RemoveArrangementRuleAction"
820             icon="AllIcons.ToolbarDecorator.Remove"/>
821     <action id="Arrangement.Rule.Edit"
822             class="com.intellij.application.options.codeStyle.arrangement.action.EditArrangementRuleAction"
823             icon="AllIcons.Actions.Edit"/>
824     <action id="Arrangement.Rule.Move.Up"
825             class="com.intellij.application.options.codeStyle.arrangement.action.MoveArrangementRuleUpAction"
826             icon="AllIcons.ToolbarDecorator.MoveUp"/>
827     <action id="Arrangement.Rule.Move.Down"
828             class="com.intellij.application.options.codeStyle.arrangement.action.MoveArrangementRuleDownAction"
829             icon="AllIcons.ToolbarDecorator.MoveDown"/>
830     
831     <group id="Arrangement.RuleEditor.Context.Menu">
832       <reference ref="Arrangement.Rule.Add"/>
833       <reference ref="Arrangement.Rule.Remove"/>
834       <reference ref="Arrangement.Rule.Edit"/>
835     </group>
836     
837     <group id="Arrangement.RuleEditor.ToolBar">
838       <reference ref="Arrangement.Rule.Add"/>
839       <reference ref="Arrangement.Rule.Remove"/>
840       <reference ref="Arrangement.Rule.Move.Up"/>
841       <reference ref="Arrangement.Rule.Move.Down"/>
842     </group>
843     
844   </actions>
845 </component>