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