diff-preview: add action for moving diff preview from detached window back to the...
[idea/community.git] / platform / vcs-impl / resources / META-INF / VcsActions.xml
1 <idea-plugin>
2   <actions>
3     <action id="Vcs.ShowTabbedFileHistory" class="com.intellij.openapi.vcs.actions.TabbedShowHistoryAction"
4             icon="AllIcons.Vcs.History"/>
5     <action id="Vcs.ShowHistoryForRevision" class="com.intellij.openapi.vcs.actions.TabbedShowHistoryForRevisionAction"
6             icon="AllIcons.Vcs.History"/>
7
8     <action id="CheckinProject" class="com.intellij.openapi.vcs.actions.CommonCheckinProjectAction" icon="AllIcons.Actions.Commit">
9       <keyboard-shortcut first-keystroke="control K" keymap="$default"/>
10       <add-to-group group-id="SegmentedVcsActionsBarGroup" anchor="first"/>
11     </action>
12     <action id="ChangesView.ToggleCommitUi" class="com.intellij.vcs.commit.ToggleChangesViewCommitUiAction" use-shortcut-of="CheckinProject">
13       <add-to-group group-id="SegmentedVcsActionsBarGroup" anchor="first"/>
14     </action>
15     <action id="CheckinFiles" class="com.intellij.openapi.vcs.actions.CommonCheckinFilesAction"/>
16     <action id="UpdateFiles" class="com.intellij.openapi.vcs.update.CommonUpdateFileOrDirectoryAction"/>
17     <action id="CheckStatusForFiles" class="com.intellij.openapi.vcs.update.CommonStatusFileOrDirectoryAction"/>
18     <action id="IntegrateFiles" class="com.intellij.openapi.vcs.update.CommonIntegrateFileOrDirectoryAction"/>
19     <action id="Annotate" class="com.intellij.openapi.vcs.actions.AnnotateToggleAction">
20       <synonym key="action.Annotate.synonym1"/>
21       <add-to-group group-id="Diff.EditorPopupMenu"/>
22       <add-to-group group-id="Diff.EditorGutterPopupMenu" anchor="first"/>
23     </action>
24     <action id="Show.Current.Revision" class="com.intellij.openapi.vcs.actions.ShowBaseRevisionAction"/>
25     <action id="Compare.SameVersion" class="com.intellij.openapi.vcs.actions.CompareWithTheSameVersionAction" icon="AllIcons.Actions.Diff"/>
26     <action id="Compare.LastVersion" class="com.intellij.openapi.vcs.actions.CompareWithLastVersion"/>
27     <action id="Compare.Selected" class="com.intellij.openapi.vcs.actions.CompareWithSelectedRevisionAction" popup="true"/>
28     <action id="Compare.Specified" class="com.intellij.openapi.vcs.actions.SelectAndCompareWithSelectedRevisionAction"
29             popup="true"/>
30     <action id="Vcs.ShowHistoryForBlock" class="com.intellij.openapi.vcs.actions.SelectedBlockHistoryAction"/>
31     <action id="Vcs.GetVersion" class="com.intellij.openapi.vcs.history.actions.GetVersionAction"/>
32     <action id="Vcs.RefreshFileHistory" class="com.intellij.openapi.vcs.history.actions.RefreshFileHistoryAction"
33             use-shortcut-of="Refresh"/>
34     <action id="Vcs.ShowDiffWithLocal.Before" class="com.intellij.openapi.vcs.history.actions.ShowDiffBeforeWithLocalAction"/>
35     <action id="Vcs.ShowDiffWithLocal" class="com.intellij.openapi.vcs.history.actions.ShowDiffAfterWithLocalAction"/>
36     <action id="Vcs.VcsClone" class="com.intellij.openapi.wm.impl.welcomeScreen.GetFromVersionControlAction"/>
37     <group class="com.intellij.openapi.vcs.actions.VcsActionGroup" id="VcsGroup"/>
38     <action id="Vcs.UpdateProject" class="com.intellij.openapi.vcs.update.CommonUpdateProjectAction" icon="AllIcons.Actions.CheckOut">
39       <keyboard-shortcut first-keystroke="control T" keymap="$default"/>
40       <add-to-group group-id="SegmentedVcsActionsBarGroup" anchor="first"/>
41     </action>
42     <group class="com.intellij.openapi.vcs.actions.VcsGroupsWrapper" id="VcsFileGroupPopup" popup="true">
43       <add-to-group group-id="VersionControlsGroup" />
44     </group>
45
46     <group id="GoToChangeMarkerGroup">
47       <separator/>
48       <action id="VcsShowNextChangeMarker" class="com.intellij.openapi.vcs.actions.ShowChangeMarkerAction$Next"
49               icon="AllIcons.Actions.NextOccurence"/>
50       <action id="VcsShowPrevChangeMarker" class="com.intellij.openapi.vcs.actions.ShowChangeMarkerAction$Prev"
51               icon="AllIcons.Actions.PreviousOccurence"/>
52
53       <add-to-group group-id="NavigateInFileGroup" anchor="last"/>
54     </group>
55     <action id="VcsShowCurrentChangeMarker" class="com.intellij.openapi.vcs.actions.ShowChangeMarkerAction$Current"/>
56
57     <group id="VcsTouchBarGroup">
58       <reference ref="Vcs.UpdateProject"/>
59       <reference ref="CheckinProject"/>
60       <reference ref="ChangesView.ToggleCommitUi"/>
61       <add-to-group group-id="TouchBarDefaultOptionalGroup" anchor="first" />
62     </group>
63
64     <action id="ChangesView.Refresh" class="com.intellij.openapi.vcs.changes.actions.RefreshAction"
65             icon="AllIcons.Actions.Refresh">
66       <override-text place="MainMenu"/>
67       <override-text place="GoToAction" use-text-of-place="MainMenu"/>
68     </action>
69
70     <!-- Main menu | Version Control -->
71     <group id="VcsGroups" class="com.intellij.openapi.vcs.actions.VcsGroupsActionGroup" popup="true">
72       <group id="Vcs.MainMenu" class="com.intellij.openapi.vcs.actions.VcsMainMenuActionGroup">
73         <action id="Start.Use.Vcs" class="com.intellij.ide.actions.StartUseVcsAction"/>
74         <separator/>
75         <group class="com.intellij.openapi.vcs.actions.VcsActionGroup" id="VcsGlobalGroup">
76
77           <action id="Vcs.QuickListPopupAction"
78                   class="com.intellij.openapi.vcs.actions.VcsQuickListPopupAction"/>
79           <reference ref="CheckinProject"/>
80           <reference ref="ChangesView.ToggleCommitUi"/>
81           <reference ref="Vcs.UpdateProject"/>
82           <action id="Vcs.IntegrateProject" class="com.intellij.openapi.vcs.update.CommonIntegrateProjectAction"/>
83           <reference ref="ChangesView.Refresh"/>
84           <separator/>
85           <group id="Vcs.Specific" class="com.intellij.ide.actions.NonEmptyActionGroup"/>
86           <separator/>
87           <action id="ChangesView.CreatePatch" class="com.intellij.openapi.vcs.changes.actions.CreatePatchAction"
88                   icon="AllIcons.Vcs.Patch"/>
89           <action id="ChangesView.ApplyPatch" class="com.intellij.openapi.vcs.changes.patch.ApplyPatchAction">
90             <add-to-group group-id="ProjectViewPopupMenu" relative-to-action="ProjectViewEditSource" anchor="after"/>
91             <add-to-group group-id="NavbarPopupMenu" relative-to-action="EditSource" anchor="after"/>
92             <add-to-group group-id="FavoritesViewPopupMenu" relative-to-action="EditSource" anchor="after"/>
93           </action>
94           <action id="ChangesView.ApplyPatchFromClipboard" class="com.intellij.openapi.vcs.changes.patch.ApplyPatchFromClipboardAction"/>
95           <action id="ChangesView.Shelve" class="com.intellij.openapi.vcs.changes.shelf.ShelveChangesAction" icon="AllIcons.Vcs.Shelve"/>
96         </group>
97
98         <separator/>
99         <reference id="Vcs.VcsClone"/>
100         <group id="Vcs.Browse" class="com.intellij.ide.actions.NonEmptyActionGroup" popup="true"/>
101         <separator/>
102         <group id="Vcs.Import" class="com.intellij.ide.actions.NonEmptyActionGroup"/>
103       </group>
104
105       <add-to-group group-id="MainMenu" anchor="after" relative-to-action="ToolsMenu"/>
106
107     </group>
108
109     <group id="Patch.MainMenu" popup="true">
110       <reference ref="ChangesView.CreatePatch"/>
111       <reference ref="ChangesView.ApplyPatch"/>
112       <reference ref="ChangesView.ApplyPatchFromClipboard"/>
113     </group>
114
115     <group id="Vcs.UmlDiff">
116     </group>
117
118     <action id="ChangesView.Revert" class="com.intellij.openapi.vcs.changes.actions.RollbackAction"
119             icon="AllIcons.Actions.Rollback"/>
120
121     <group id="ChangesView.ViewOptions"/>
122
123     <group id="ChangesView.GroupBy" icon="AllIcons.Actions.GroupBy" popup="true"
124            class="com.intellij.openapi.vcs.changes.actions.SelectChangesGroupingActionGroup">
125       <separator key="group.ChangesView.GroupBy.text"/>
126       <action id="ChangesView.GroupBy.Directory"
127               class="com.intellij.openapi.vcs.changes.actions.SetDirectoryChangesGroupingAction"/>
128       <add-to-group group-id="Vcs.KeymapGroup"/>
129     </group>
130
131     <group id="ChangesViewToolbar">
132       <reference ref="ChangesView.Refresh"/>
133       <reference ref="CheckinProject"/>
134       <reference ref="ChangesView.ToggleCommitUi"/>
135       <reference ref="ChangesView.Revert"/>
136       <action id="ChangesView.Diff" class="com.intellij.diff.actions.ShowDiffAction" icon="AllIcons.Actions.Diff"
137               use-shortcut-of="Diff.ShowDiff"/>
138       <group icon="AllIcons.Vcs.Changelist" id="ChangesView.Changelists" popup="true">
139         <action id="ChangesView.NewChangeList" class="com.intellij.openapi.vcs.changes.actions.AddChangeListAction"
140                 icon="AllIcons.General.Add"/>
141         <action id="ChangesView.Rename" class="com.intellij.openapi.vcs.changes.actions.RenameChangeListAction"
142                 icon="AllIcons.Actions.Edit"/>
143         <action id="ChangesView.RemoveChangeList" class="com.intellij.openapi.vcs.changes.actions.RemoveChangeListAction"
144                 icon="AllIcons.General.Remove"/>
145         <action id="ChangesView.SetDefault" class="com.intellij.openapi.vcs.changes.actions.SetDefaultChangeListAction"
146                 icon="AllIcons.Actions.Selectall"/>
147         <action id="ChangesView.Move" class="com.intellij.openapi.vcs.changes.actions.MoveChangesToAnotherListAction"/>
148       </group>
149       <action id="ChangesView.ShelveSilently" class="com.intellij.openapi.vcs.changes.actions.ShelveSilentlyAction"
150               icon="AllIcons.Vcs.ShelveSilent">
151         <keyboard-shortcut first-keystroke="shift control H" keymap="$default"/>
152       </action>
153     </group>
154
155     <group id="ChangesViewPopupMenu">
156       <reference ref="CheckinFiles"/>
157       <reference ref="ChangesView.Revert"/>
158       <reference ref="ChangesView.Move"/>
159       <reference ref="Diff.ShowDiff"/>
160       <reference ref="EditSource"/>
161       <separator/>
162       <reference ref="$Delete"/>
163       <action id="ChangesView.AddUnversioned"
164               class="com.intellij.openapi.vcs.changes.actions.ScheduleForAdditionWithIgnoredFilesConfirmationAction">
165         <keyboard-shortcut first-keystroke="control alt A" keymap="$default"/>
166       </action>
167       <action id="ChangesView.RemoveDeleted" class="com.intellij.openapi.vcs.changes.actions.ScheduleForRemovalAction"
168               icon="AllIcons.General.Remove"/>
169       <action id="ChangesView.Edit" class="com.intellij.openapi.vcs.changes.actions.EditAction"/>
170       <separator/>
171       <reference ref="ChangesView.NewChangeList"/>
172       <reference ref="ChangesView.RemoveChangeList"/>
173       <reference ref="ChangesView.SetDefault"/>
174       <reference ref="ChangesView.Rename"/>
175       <reference ref="ChangesView.CreatePatch"/>
176       <action id="ChangesView.CreatePatchToClipboard" class="com.intellij.openapi.vcs.changes.actions.CreatePatchFromChangesAction$Clipboard"/>
177       <reference ref="ChangesView.Shelve"/>
178       <separator/>
179       <reference ref="ChangesView.Refresh"/>
180       <separator/>
181       <reference ref="VersionControlsGroup"/>
182     </group>
183
184     <group id="Unversioned.Files.Dialog">
185       <reference ref="ChangesView.AddUnversioned"/>
186       <reference ref="$Delete"/>
187     </group>
188     <group id="Unversioned.Files.Dialog.Popup">
189       <reference ref="ChangesView.AddUnversioned"/>
190       <reference ref="ChangesView.Move"/>
191       <reference ref="$Delete"/>
192     </group>
193
194     <group id="ShelvedChangesPopupMenu" popup="true">
195       <action id="ShelveChanges.UnshelveWithDialog" class="com.intellij.openapi.vcs.changes.shelf.UnshelveWithDialogAction"
196               icon="AllIcons.Vcs.Unshelve"/>
197       <action id="ShelvedChanges.Restore" class="com.intellij.openapi.vcs.changes.shelf.RestoreShelvedChange"/>
198       <reference id="Diff.ShowDiff"/>
199       <reference id="Vcs.ShowDiffWithLocal"/>
200       <action id="ChangesView.CreatePatchFromChanges" class="com.intellij.openapi.vcs.changes.actions.CreatePatchFromChangesAction$Dialog"
201               icon="AllIcons.Vcs.Patch"/>
202       <reference ref="ChangesView.CreatePatchToClipboard"/>
203       <action id="ShelvedChanges.ImportPatches" class="com.intellij.openapi.vcs.changes.shelf.ImportIntoShelfAction"/>
204       <separator/>
205       <action id="ShelvedChanges.Rename" class="com.intellij.openapi.vcs.changes.shelf.RenameShelvedChangeListAction"/>
206       <reference ref="$Delete"/>
207       <separator/>
208       <action id="ShelvedChanges.ShowHideDeleted" class="com.intellij.openapi.vcs.changes.shelf.ShowHideRecycledAction"/>
209       <action id="ShelvedChanges.ShowRecentlyDeleted" class="com.intellij.openapi.vcs.changes.shelf.ShowRecentlyDeletedShelvesAction"/>
210       <action id="ShelvedChanges.CleanMarkedToDelete" class="com.intellij.openapi.vcs.changes.shelf.CleanUnshelvedAction"
211               icon="AllIcons.Actions.GC"/>
212     </group>
213
214     <group id="ShelvedChangesToolbar">
215       <action id="ChangesView.UnshelveSilently" class="com.intellij.openapi.vcs.changes.actions.UnshelveSilentlyAction"
216               icon="AllIcons.Vcs.UnshelveSilent">
217         <keyboard-shortcut first-keystroke="control alt U" keymap="$default"/>
218       </action>
219       <reference ref="Diff.ShowDiff"/>
220       <reference ref="ShelvedChanges.CleanMarkedToDelete"/>
221       <separator/>
222       <reference ref="ChangesView.GroupBy"/>
223       <reference ref="ShelvedChanges.ShowHideDeleted"/>
224       <reference ref="ExpandAll"/>
225       <reference ref="CollapseAll"/>
226     </group>
227
228     <!--a group for plugins to add their actions-->
229     <group id="VcsHistoryActionsGroup"/>
230     <group id="VcsHistoryActionsGroup.Toolbar"/>
231
232     <action id="FileHistory.AnnotateRevision" class="com.intellij.openapi.vcs.history.actions.AnnotateRevisionAction"/>
233
234     <group id="VcsHistoryInternalGroup.Popup">
235       <reference ref="Diff.ShowDiff"/>
236       <reference ref="Vcs.ShowDiffWithLocal"/>
237       <reference ref="VcsHistoryActionsGroup"/>
238       <reference ref="ChangesView.CreatePatchFromChanges"/>
239       <reference ref="Vcs.GetVersion"/>
240       <reference ref="FileHistory.AnnotateRevision"/>
241     </group>
242
243     <group id="VcsHistoryInternalGroup.Toolbar">
244       <reference ref="Diff.ShowDiff"/>
245       <reference ref="VcsHistoryActionsGroup.Toolbar"/>
246       <reference ref="Vcs.RefreshFileHistory"/>
247     </group>
248
249     <group id="CommittedChangesToolbar">
250       <action id="CommittedChanges.Refresh" class="com.intellij.openapi.vcs.changes.committed.RefreshCommittedAction"
251               icon="AllIcons.Actions.Refresh"/>
252       <action id="CommittedChanges.Filter" class="com.intellij.openapi.vcs.changes.committed.FilterCommittedAction"
253               icon="AllIcons.General.Filter"/>
254       <action id="CommittedChanges.Details" class="com.intellij.openapi.vcs.changes.committed.ChangeListDetailsAction"
255               icon="AllIcons.Actions.Preview"/>
256       <reference ref="ChangesView.CreatePatchFromChanges"/>
257       <action id="CommittedChanges.Revert" class="com.intellij.openapi.vcs.changes.actions.RevertChangeListAction"
258               icon="AllIcons.Actions.Rollback"/>
259       <action id="CommittedChanges.Clear" class="com.intellij.openapi.vcs.changes.committed.ClearCommittedAction"
260               icon="AllIcons.Actions.GC"/>
261     </group>
262
263     <action id="Vcs.EditSource" class="com.intellij.openapi.vcs.changes.committed.EditSourceFromChangesBrowserAction"
264             icon="AllIcons.Actions.EditSource" use-shortcut-of="EditSource"/>
265     <action id="Vcs.OpenRepositoryVersion" class="com.intellij.openapi.vcs.changes.actions.OpenRepositoryVersionAction"/>
266     <action id="Vcs.RevertSelectedChanges" class="com.intellij.openapi.vcs.changes.actions.RevertSelectedChangesAction$Revert"
267             icon="AllIcons.Actions.Rollback"/>
268     <action id="Vcs.ApplySelectedChanges" class="com.intellij.openapi.vcs.changes.actions.RevertSelectedChangesAction$Apply"/>
269
270     <group id="Vcs.RepositoryChangesBrowserToolbar">
271       <reference ref="Vcs.RevertSelectedChanges"/>
272       <reference ref="Vcs.ShowHistoryForRevision"/>
273     </group>
274
275     <group id="ChangesBrowser.FiltererGroup" class="com.intellij.openapi.vcs.changes.ui.browser.ChangesFilterer$FilterGroup"/>
276
277     <group id="Vcs.RepositoryChangesBrowserMenu">
278       <reference ref="Vcs.ShowDiffWithLocal"/>
279       <reference ref="Vcs.ShowDiffWithLocal.Before"/>
280       <reference ref="Vcs.EditSource"/>
281       <reference ref="Vcs.OpenRepositoryVersion"/>
282       <reference ref="Vcs.RevertSelectedChanges"/>
283       <reference ref="Vcs.ApplySelectedChanges"/>
284       <reference ref="Vcs.ShowHistoryForRevision"/>
285     </group>
286
287     <!--deprecated, to be removed after plugins start using Vcs.RepositoryChangesBrowserToolbar-->
288     <group id="RepositoryChangesBrowserToolbar">
289       <reference ref="Vcs.ShowHistoryForRevision"/>
290     </group>
291
292     <group id="IncomingChangesToolbar">
293       <action id="IncomingChanges.Refresh" class="com.intellij.openapi.vcs.changes.committed.RefreshIncomingChangesAction"
294               icon="AllIcons.Actions.Refresh"/>
295       <reference ref="CommittedChanges.Details"/>
296       <reference ref="Vcs.UpdateProject"/>
297     </group>
298
299     <group id="Vcs.History">
300       <action id="VcsHistory.ShowAllAffected" class="com.intellij.openapi.vcs.annotate.ShowAllAffectedGenericAction"
301               icon="AllIcons.Actions.ListChanges" />
302     </group>
303
304     <action id="ChangesView.Browse" class="com.intellij.openapi.vcs.changes.committed.BrowseCommittedChangesAction"/>
305
306     <group id="EditorGutterVcsPopupMenu">
307       <reference ref="Annotate"/>
308       <add-to-group group-id="EditorGutterPopupMenu" anchor="first"/>
309       <separator/>
310     </group>
311
312     <group id="Vcs.CheckinProjectToolbar">
313     </group>
314     <group id="Vcs.CheckinProjectMenu">
315     </group>
316
317     <group id="UpdateActionGroup">
318       <reference ref="EditSource"/>
319       <reference ref="$Delete"/>
320       <reference id="Diff.ShowDiff"/>
321     </group>
322
323     <action id="Vcs.ReformatCommitMessage" class="com.intellij.vcs.commit.message.ReformatCommitMessageAction" use-shortcut-of="ReformatCode"/>
324     <group id="Vcs.MessageActionGroup">
325       <action id="Vcs.ShowMessageHistory"
326               class="com.intellij.openapi.vcs.actions.ShowMessageHistoryAction"
327               icon="AllIcons.Vcs.History"/>
328     </group>
329
330     <group id="Vcs.Commit.PrimaryCommitActions"/>
331     <group id="Vcs.CommitExecutor.Actions"/>
332
333     <group id="ChangesView.CommitToolbar">
334       <action id="Vcs.ToggleAmendCommitMode" class="com.intellij.vcs.commit.ToggleAmendCommitModeAction"/>
335       <action id="ChangesView.ShowCommitOptions" class="com.intellij.openapi.vcs.actions.ShowCommitOptionsAction"/>
336       <reference id="Vcs.MessageActionGroup"/>
337     </group>
338
339     <action class="com.intellij.openapi.vcs.actions.VcsToolbarLabelAction" id="VcsToolbarLabelAction"/>
340
341     <group id="VcsToolbarActions">
342       <reference ref="VcsToolbarLabelAction"/>
343       <reference ref="Vcs.UpdateProject"/>
344       <reference ref="CheckinProject"/>
345       <reference ref="ChangesView.ToggleCommitUi"/>
346       <reference ref="Compare.SameVersion"/>
347       <reference ref="Vcs.ShowTabbedFileHistory"/>
348       <reference ref="ChangesView.Revert"/>
349       <separator/>
350       <add-to-group group-id="MainToolBarSettings"/>
351     </group>
352
353     <group id="VcsNavBarToolbarActions">
354       <reference ref="VcsToolbarLabelAction"/>
355       <reference ref="Vcs.UpdateProject"/>
356       <reference ref="CheckinProject"/>
357       <reference ref="ChangesView.ToggleCommitUi"/>
358       <reference ref="Vcs.ShowTabbedFileHistory"/>
359       <reference ref="ChangesView.Revert"/>
360       <separator/>
361       <add-to-group group-id="NavBarVcsGroup" anchor="first"/>
362     </group>
363
364  <!-- Window -->
365     <action id="CloseAllUnmodifiedEditors" class="com.intellij.ide.actions.CloseAllUnmodifiedEditorsAction">
366       <add-to-group group-id="CloseEditorsGroup" anchor="after" relative-to-action="CloseAllEditors"/>
367     </action>
368
369     <action id="Vcs.RollbackChangedLines" class="com.intellij.openapi.vcs.ex.RollbackLineStatusAction" icon="AllIcons.Actions.Rollback"/>
370     <action id="Vcs.MoveChangedLinesToChangelist" class="com.intellij.openapi.vcs.ex.MoveChangesLineStatusAction"/>
371     <action id="Vcs.Diff.ExcludeChangedLinesFromCommit" class="com.intellij.openapi.actionSystem.EmptyAction">
372       <add-to-group group-id="Diff.KeymapGroup" relative-to-action="Diff.ResolveConflict" anchor="after"/>
373     </action>
374     <action id="Vcs.Diff.IncludeOnlyChangedLinesIntoCommit" class="com.intellij.openapi.actionSystem.EmptyAction">
375       <add-to-group group-id="Diff.KeymapGroup" relative-to-action="Vcs.Diff.ExcludeChangedLinesFromCommit" anchor="after"/>
376     </action>
377     <action id="Vcs.Diff.ShowDiffInEditorTab" class="com.intellij.openapi.vcs.changes.actions.diff.MoveDiffPreviewToEditorAction">
378       <add-to-group group-id="Diff.EditorGutterPopupMenu.EditorSettings" anchor="last"/>
379     </action>
380
381     <reference ref="Vcs.VcsClone">
382       <add-to-group group-id="WelcomeScreen.QuickStart" anchor="first"/>
383     </reference>
384
385     <action id="Vcs.CopyRevisionNumberAction" class="com.intellij.openapi.vcs.history.actions.CopyRevisionNumberAction"
386             icon="AllIcons.Actions.Copy" use-shortcut-of="CopyReference"/>
387
388     <group id="VcsSelectionHistoryDialog.Popup">
389       <reference id="Diff.ShowDiff"/>
390       <reference id="Vcs.ShowDiffWithLocal"/>
391       <reference id="VcsHistory.ShowAllAffected"/>
392       <reference id="Vcs.CopyRevisionNumberAction"/>
393     </group>
394
395     <group id="Shelve.KeymapGroup">
396       <reference ref="ChangesView.Shelve"/>
397       <reference ref="ChangesView.ShelveSilently"/>
398       <reference ref="ShelveChanges.UnshelveWithDialog"/>
399       <reference ref="ChangesView.UnshelveSilently"/>
400       <reference ref="ShelvedChanges.Restore"/>
401       <reference ref="ShelvedChanges.ImportPatches"/>
402       <separator/>
403       <reference ref="ShelvedChanges.Rename"/>
404       <separator/>
405       <reference ref="Diff.ShowDiff"/>
406       <reference ref="ChangesView.CreatePatchFromChanges"/>
407       <separator/>
408       <reference ref="ShelvedChanges.ShowHideDeleted"/>
409       <reference ref="ShelvedChanges.CleanMarkedToDelete"/>
410       <separator/>
411
412       <add-to-group group-id="Vcs.KeymapGroup" anchor="first"/>
413     </group>
414
415     <group id="FileHistory.KeymapGroup">
416       <reference id="Vcs.GetVersion"/>
417       <reference id="FileHistory.AnnotateRevision"/>
418
419       <add-to-group group-id="Vcs.KeymapGroup"/>
420     </group>
421
422     <group>
423       <reference ref="Vcs.ToggleAmendCommitMode"/>
424       <reference ref="CheckinProject"/>
425       <reference ref="CheckinFiles"/>
426       <reference ref="ChangesView.ShowCommitOptions"/>
427       <reference ref="UpdateFiles"/>
428       <reference ref="CheckStatusForFiles"/>
429       <reference ref="IntegrateFiles"/>
430       <separator/>
431       <reference ref="Show.Current.Revision"/>
432       <reference ref="Vcs.ShowHistoryForBlock"/>
433       <reference ref="Vcs.ShowTabbedFileHistory"/>
434       <reference ref="Vcs.ShowHistoryForRevision"/>
435       <reference ref="VcsHistory.ShowAllAffected"/>
436       <reference ref="Compare.Specified"/>
437       <reference ref="Compare.Selected"/>
438       <reference ref="Annotate"/>
439       <separator/>
440       <reference ref="VcsShowNextChangeMarker"/>
441       <reference ref="VcsShowPrevChangeMarker"/>
442       <reference ref="VcsShowCurrentChangeMarker"/>
443       <reference ref="Vcs.RollbackChangedLines"/>
444       <reference ref="Vcs.MoveChangedLinesToChangelist"/>
445       <separator/>
446       <reference ref="Start.Use.Vcs"/>
447       <reference ref="Vcs.QuickListPopupAction"/>
448       <reference ref="Vcs.UpdateProject"/>
449       <reference ref="Vcs.IntegrateProject"/>
450       <separator/>
451       <reference ref="ChangesView.Browse"/>
452       <reference ref="ChangesView.CreatePatch"/>
453       <reference ref="ChangesView.CreatePatchToClipboard"/>
454       <reference ref="ChangesView.ApplyPatch"/>
455       <reference ref="ChangesView.ApplyPatchFromClipboard"/>
456       <reference ref="ChangesView.Revert"/>
457       <reference ref="ChangesView.Refresh"/>
458       <reference ref="ChangesView.NewChangeList"/>
459       <reference ref="ChangesView.RemoveChangeList"/>
460       <reference ref="ChangesView.SetDefault"/>
461       <reference ref="ChangesView.Move"/>
462       <reference ref="Diff.ShowDiff"/>
463       <reference ref="$Delete"/>
464       <reference ref="ChangesView.AddUnversioned"/>
465       <reference ref="ChangesView.RemoveDeleted"/>
466       <reference ref="ChangesView.Edit"/>
467       <reference ref="ChangesView.Rename"/>
468       <separator/>
469       <reference ref="CommittedChanges.Refresh"/>
470       <reference ref="CommittedChanges.Filter"/>
471       <reference ref="CommittedChanges.Details"/>
472       <reference ref="CommittedChanges.Revert"/>
473       <reference ref="CommittedChanges.Clear"/>
474       <reference ref="IncomingChanges.Refresh"/>
475       <separator/>
476       <reference ref="Vcs.ShowDiffWithLocal"/>
477       <reference ref="Vcs.ShowDiffWithLocal.Before"/>
478       <reference ref="Vcs.EditSource"/>
479       <reference ref="Vcs.OpenRepositoryVersion"/>
480       <reference ref="Vcs.RevertSelectedChanges"/>
481       <reference ref="Vcs.ApplySelectedChanges"/>
482       <separator/>
483       <reference ref="Vcs.ShowMessageHistory"/>
484       <reference ref="CloseAllUnmodifiedEditors"/>
485       <reference ref="Vcs.VcsClone"/>
486       <reference ref="Vcs.CopyRevisionNumberAction"/>
487       <separator/>
488
489       <add-to-group group-id="VcsGeneral.KeymapGroup"/>
490     </group>
491
492     <group>
493       <reference ref="Compare.SameVersion"/>
494       <reference ref="Compare.LastVersion"/>
495       <reference ref="Compare.Specified"/>
496       <reference ref="Vcs.ShowDiffWithLocal.Before"/>
497       <reference ref="Vcs.ShowDiffWithLocal"/>
498       <separator/>
499
500       <add-to-group group-id="Diff.KeymapGroup" anchor="after" relative-to-action="CompareClipboardWithSelection"/>
501     </group>
502
503     <group id="CommitView.GearActions">
504       <action id="CommitView.SwitchToCommitDialog" class="com.intellij.vcs.commit.SwitchToCommitDialogAction"/>
505       <action id="CommitView.ShowEditorPreviewOnDoubleClick"
506               class="com.intellij.openapi.vcs.changes.actions.ShowEditorPreviewOnDoubleClickToggleAction"/>
507
508       <add-to-group group-id="VcsGeneral.KeymapGroup"/>
509     </group>
510
511     <group id="Vcs.Show.Toolwindow.Tab">
512       <add-to-group group-id="VcsGeneral.KeymapGroup"/>
513       <action id="Vcs.Show.Local.Changes" class="com.intellij.vcs.VcsShowLocalChangesAction"/>
514       <action id="Vcs.Show.Shelf" class="com.intellij.vcs.VcsShowShelfAction"/>
515     </group>
516
517     <action id="AnnotateStackTraceAction.show.files.modification.info"
518             class="com.intellij.unscramble.AnnotateStackTraceAction" icon="AllIcons.Actions.Annotate">
519       <add-to-group group-id="AnalyzeStacktraceToolbar" anchor="first" />
520     </action>
521
522     <action id="Vcs.Operations.Popup.Annotate" class="com.intellij.openapi.vcs.actions.ShowAnnotateOperationsPopup">
523       <add-to-group group-id="VcsGeneral.KeymapGroup"/>
524     </action>
525
526     <group id="Vcs.Operations.Popup">
527       <group id="Vcs.Operations.Popup.VcsAware" class="com.intellij.openapi.vcs.actions.VcsQuickListPopupAction$VcsAware">
528         <group id="Vcs.Operations.Popup.VcsNameSeparator" class="com.intellij.openapi.vcs.actions.VcsQuickListPopupAction$VcsNameSeparator"/>
529         <reference id="ChangesView.AddUnversioned"/>
530         <reference id="CheckinProject"/>
531         <reference ref="ChangesView.ToggleCommitUi"/>
532         <reference id="CheckinFiles"/>
533         <reference id="ChangesView.Revert"/>
534         <separator/>
535         <reference id="Vcs.ShowTabbedFileHistory"/>
536         <reference id="Annotate"/>
537         <reference id="Compare.SameVersion"/>
538       </group>
539       <separator/>
540       <group id="Vcs.Operations.Popup.Vcs.Providers"
541              class="com.intellij.openapi.vcs.actions.VcsQuickListPopupAction$Providers"/>
542       <group id="Vcs.Operations.Popup.NonVcsAware" class="com.intellij.openapi.vcs.actions.VcsQuickListPopupAction$NonVcsAware">
543         <reference id="Start.Use.Vcs"/>
544       </group>
545       <separator/>
546       <group class="com.intellij.openapi.vcs.actions.ShowAnnotateOperationsPopup$Group" popup="true" id="ShowAnnotateOperationsPopupGroup"/>
547     </group>
548
549   </actions>
550 </idea-plugin>