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