-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Commands.cmd.xml
1069 lines (973 loc) · 35 KB
/
Commands.cmd.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!--
This file is intended to contain definitions for all commands in RStudio, as
well as menu structures (for main menu and popup menus).
<menu>
Contains <menu>, <cmd>, <separator>
@id (required): The method name for this menu on the command bundle interface
@vertical: Whether the menu should be vertical. Defaults to true
@label: For submenus, indicate the label in the parent menu for this submenu
<cmd> (in menu context)
@refid (required): The id of the command that should appear here
<cmd> (in command context)
@id (required): The method name for this command on the command bundle iface
@label: Will be used for buttonLabel or menuLabel if they are not provided
@buttonLabel: Label that should be used on toolbar button face. Use empty
string if no label should be used
@menuLabel: Label that should be used in a menu.
@desc: Extended description (e.g. for tooltip)
-->
<commands>
<menu id="mainMenu" vertical="false">
<separator/>
<menu label="_File">
<menu label="_New">
<cmd refid="newSourceDoc"/>
<separator/>
<cmd refid="newTextDoc"/>
<separator/>
<cmd refid="newSweaveDoc"/>
<cmd refid="newRMarkdownDoc"/>
<dynamic class="org.rstudio.studio.client.common.filetypes.NewRFileMenu"/>
</menu>
<separator/>
<cmd refid="openSourceDoc"/>
<menu label="_Recent Files">
<cmd refid="mru0"/>
<cmd refid="mru1"/>
<cmd refid="mru2"/>
<cmd refid="mru3"/>
<cmd refid="mru4"/>
<cmd refid="mru5"/>
<cmd refid="mru6"/>
<cmd refid="mru7"/>
<cmd refid="mru8"/>
<cmd refid="mru9"/>
<separator/>
<cmd refid="clearRecentFiles"/>
</menu>
<cmd refid="reopenSourceDocWithEncoding"/>
<separator/>
<cmd refid="saveSourceDoc"/>
<cmd refid="saveSourceDocAs"/>
<cmd refid="saveSourceDocWithEncoding"/>
<cmd refid="saveAllSourceDocs"/>
<separator/>
<cmd refid="knitToHTML"/>
<cmd refid="previewHTML"/>
<cmd refid="compilePDF"/>
<cmd refid="compileNotebook"/>
<separator/>
<cmd refid="printSourceDoc"/>
<separator/>
<cmd refid="closeSourceDoc"/>
<cmd refid="closeAllSourceDocs"/>
<separator/>
<cmd refid="quitSession"/>
</menu>
<separator/>
<menu label="_Edit">
<cmd refid="undoDummy"/>
<cmd refid="redoDummy"/>
<separator/>
<cmd refid="cutDummy"/>
<cmd refid="copyDummy"/>
<cmd refid="pasteDummy"/>
<separator/>
<menu label="_Folding">
<cmd refid="fold"/>
<cmd refid="unfold"/>
<separator/>
<cmd refid="foldAll"/>
<cmd refid="unfoldAll"/>
</menu>
<separator/>
<cmd refid="goToLine"/>
<separator/>
<cmd refid="find"/>
<cmd refid="findReplace"/>
<cmd refid="findInFiles"/>
<separator/>
<cmd refid="checkSpelling"/>
<separator/>
<cmd refid="consoleClear"/>
</menu>
<separator/>
<menu label="_Code">
<cmd refid="sourceNavigateBack"/>
<cmd refid="sourceNavigateForward"/>
<separator/>
<cmd refid="insertChunk"/>
<cmd refid="insertSection"/>
<separator/>
<cmd refid="jumpTo"/>
<separator/>
<cmd refid="goToFileFunction"/>
<cmd refid="goToFunctionDefinition"/>
<separator/>
<cmd refid="extractFunction"/>
<cmd refid="commentUncomment"/>
<cmd refid="reindent"/>
<cmd refid="reflowComment"/>
<separator/>
<cmd refid="executeCode"/>
<cmd refid="executeLastCode"/>
<menu label="Run Regi_on">
<cmd refid="executeCurrentChunk"/>
<cmd refid="executeNextChunk"/>
<cmd refid="executeToCurrentLine"/>
<cmd refid="executeFromCurrentLine"/>
<cmd refid="executeCurrentFunction"/>
<separator/>
<cmd refid="executeAllCode"/>
</menu>
<separator/>
<cmd refid="sourceActiveDocument"/>
<cmd refid="sourceActiveDocumentWithEcho"/>
<separator/>
<cmd refid="sourceFile"/>
<separator/>
</menu>
<separator/>
<menu label="_View">
<cmd refid="showToolbar"/>
<cmd refid="hideToolbar"/>
<separator/>
<cmd refid="switchToTab"/>
<cmd refid="nextTab"/>
<cmd refid="previousTab"/>
<cmd refid="firstTab"/>
<cmd refid="lastTab"/>
<separator/>
<cmd refid="activateSource"/>
<cmd refid="activateConsole"/>
<separator/>
<cmd refid="activateWorkspace"/>
<cmd refid="activateHistory"/>
<cmd refid="activateFiles"/>
<cmd refid="activatePlots"/>
<cmd refid="activatePackages"/>
<cmd refid="activateHelp"/>
<cmd refid="activateVcs"/>
<cmd refid="activateBuild"/>
<separator/>
<cmd refid="synctexSearch"/>
</menu>
<separator/>
<menu label="_Project">
<cmd refid="newProject"/>
<separator/>
<cmd refid="openProject"/>
<cmd refid="openProjectInNewWindow"/>
<menu label="_Recent Projects">
<cmd refid="projectMru0"/>
<cmd refid="projectMru1"/>
<cmd refid="projectMru2"/>
<cmd refid="projectMru3"/>
<cmd refid="projectMru4"/>
<cmd refid="projectMru5"/>
<cmd refid="projectMru6"/>
<cmd refid="projectMru7"/>
<cmd refid="projectMru8"/>
<cmd refid="projectMru9"/>
<separator/>
<cmd refid="clearRecentProjects"/>
</menu>
<separator/>
<cmd refid="closeProject"/>
<separator/>
<cmd refid="projectOptions"/>
</menu>
<menu label="_Build">
<cmd refid="buildAll"/>
<separator/>
<cmd refid="rebuildAll"/>
<cmd refid="cleanAll"/>
<cmd refid="checkPackage"/>
<separator/>
<cmd refid="buildSourcePackage"/>
<cmd refid="buildBinaryPackage"/>
<separator/>
<cmd refid="stopBuild"/>
<separator/>
<cmd refid="buildToolsProjectSetup"/>
</menu>
<separator/>
<menu label="_Workspace">
<cmd refid="loadWorkspace"/>
<cmd refid="loadDefaultWorkspace"/>
<separator/>
<cmd refid="saveWorkspace"/>
<cmd refid="saveDefaultWorkspace"/>
<separator/>
<menu label="_Import Dataset">
<cmd refid="importDatasetFromFile"/>
<cmd refid="importDatasetFromURL"/>
</menu>
<separator/>
<cmd refid="clearWorkspace"/>
</menu>
<separator/>
<menu label="Pl_ots">
<cmd refid="nextPlot"/>
<cmd refid="previousPlot"/>
<separator/>
<cmd refid="zoomPlot"/>
<separator/>
<cmd refid="savePlotAsImage"/>
<cmd refid="savePlotAsPdf"/>
<separator/>
<cmd refid="copyPlotToClipboard"/>
<separator/>
<cmd refid="removePlot"/>
<separator/>
<cmd refid="clearPlots"/>
</menu>
<separator/>
<menu label="_Tools">
<cmd refid="interruptR"/>
<cmd refid="restartR"/>
<separator/>
<menu label="Set _Working Directory">
<cmd refid="setWorkingDirToActiveDoc"/>
<cmd refid="setWorkingDirToFilesPane"/>
<separator/>
<cmd refid="setWorkingDir"/>
</menu>
<separator/>
<cmd refid="installPackage"/>
<cmd refid="updatePackages"/>
<separator/>
<menu label="_Version Control">
<cmd refid="vcsFileDiff"/>
<cmd refid="vcsFileLog"/>
<cmd refid="vcsFileRevert"/>
<separator/>
<cmd refid="vcsCommit"/>
<separator/>
<cmd refid="vcsPull"/>
<cmd refid="vcsCleanup"/>
<cmd refid="vcsPush"/>
<separator/>
<cmd refid="vcsShowHistory"/>
<separator/>
<cmd refid="versionControlProjectSetup"/>
</menu>
<separator/>
<cmd refid="showShellDialog"/>
<separator/>
<cmd refid="showOptions"/>
</menu>
<separator/>
<menu label="_Help">
<cmd refid="helpHome"/>
<cmd refid="showAboutDialog"/>
<cmd refid="checkForUpdates"/>
<separator/>
<cmd refid="helpUsingRStudio"/>
<cmd refid="rstudioSupport"/>
<separator/>
<cmd refid="markdownHelp"/>
<cmd refid="helpKeyboardShortcuts"/>
<separator/>
<cmd refid="rstudioLicense"/>
<cmd refid="rstudioAgreement"/>
<separator/>
<menu label="Dia_gnostics">
<cmd refid="showLogFiles"/>
<cmd refid="updateCredentials"/>
<cmd refid="showRequestLog"/>
<separator/>
<cmd refid="debugDumpContents"/>
<cmd refid="debugImportDump"/>
<!--
<cmd refid="raiseException"/>
- <cmd refid="raiseException2"/>
-->
</menu>
</menu>
<separator/>
</menu>
<shortcuts>
<!--
Only the following keys may be used:
Alphanumerics
/
Enter
Left, Right, Up, Down
Tab
PageUp, PageDown
F1-F12
=
<
`
.
-->
<!-- Valid modifiers are Ctrl, Alt, Meta, Shift, and Cmd -->
<!-- "Cmd" means Ctrl OR Meta -->
<shortcut refid="saveSourceDoc" value="Cmd+S"/>
<shortcut refid="openSourceDoc" value="Cmd+O"/>
<shortcut refid="newSourceDoc" value="Cmd+Shift+N"/>
<shortcut refid="closeSourceDoc" value="Cmd+W"/>
<shortcut refid="closeAllSourceDocs" value="Cmd+Shift+W"/>
<shortcut refid="insertChunk" value="Cmd+Shift+<"/>
<shortcut refid="insertSection" value="Cmd+Shift+R"/>
<shortcut refid="compilePDF" value="Cmd+Shift+I"/>
<shortcut refid="executeCode" value="Cmd+Enter"/>
<shortcut refid="executeAllCode" value="Cmd+Alt+R"/>
<shortcut refid="executeToCurrentLine" value="Cmd+Alt+B"/>
<shortcut refid="executeFromCurrentLine" value="Cmd+Alt+E"/>
<shortcut refid="executeCurrentFunction" value="Cmd+Alt+F"/>
<shortcut refid="executeCurrentChunk" value="Cmd+Alt+C"/>
<shortcut refid="executeNextChunk" value="Cmd+Alt+N"/>
<shortcut refid="sourceNavigateBack" value="Cmd+F9"/>
<shortcut refid="sourceNavigateForward" value="Cmd+F10"/>
<shortcut refid="sourceFile" value="Cmd+Shift+O"/>
<shortcut refid="sourceActiveDocument" value="Cmd+Shift+S"/>
<shortcut refid="sourceActiveDocumentWithEcho" value="Cmd+Shift+Enter"/>;
<shortcut refid="extractFunction" value="Cmd+Shift+U"/>
<shortcut refid="executeLastCode" value="Cmd+Shift+P"/>
<shortcut refid="findInFiles" value="Cmd+Shift+F"/>
<shortcut refid="commentUncomment" value="Cmd+Shift+C"/>
<shortcut refid="reindent" value="Cmd+I"/>
<shortcut refid="reflowComment" value="Cmd+Shift+/"/>
<shortcut refid="consoleClear" value="Ctrl+L"/>
<shortcut refid="goToFileFunction" value="Ctrl+."/>
<shortcut refid="activateSource" value="Ctrl+1"/>
<shortcut refid="activateConsole" value="Ctrl+2"/>
<shortcut refid="activateWorkspace" value="Ctrl+3"/>
<shortcut refid="activateHistory" value="Ctrl+4"/>
<shortcut refid="activateFiles" value="Ctrl+5"/>
<shortcut refid="activatePlots" value="Ctrl+6"/>
<shortcut refid="activatePackages" value="Ctrl+7"/>
<shortcut refid="activateHelp" value="Ctrl+8"/>
<shortcut refid="activateVcs" value="Ctrl+9"/>
<shortcut refid="activateBuild" value="Ctrl+0"/>
<shortcut refid="jumpTo" value="Shift+Alt+J"/>
<shortcut refid="switchToTab" value="Ctrl+Alt+Down"/>
<shortcut refid="previousTab" value="Ctrl+Alt+Left" if="!org.rstudio.core.client.BrowseCap.isLinux()"/>
<shortcut refid="nextTab" value="Ctrl+Alt+Right" if="!org.rstudio.core.client.BrowseCap.isLinux()"/>
<shortcut refid="previousTab" value="Ctrl+PageUp" if="org.rstudio.core.client.BrowseCap.isLinux()"/>
<shortcut refid="nextTab" value="Ctrl+PageDown" if="org.rstudio.core.client.BrowseCap.isLinux()"/>
<shortcut refid="firstTab" value="Ctrl+Alt+Shift+Left"/>
<shortcut refid="lastTab" value="Ctrl+Alt+Shift+Right"/>
<shortcut refid="goToLine" value="Cmd+G"/>
<shortcut refid="previousPlot" value="Cmd+Shift+PageUp" />
<shortcut refid="nextPlot" value="Cmd+Shift+PageDown" />
<shortcut refid="showRequestLog" value="Ctrl+`" />
<shortcut refid="logFocusedElement" value="Ctrl+Shift+`" />
<shortcut refid="setWorkingDir" value="Ctrl+Shift+K" />
<shortcut refid="vcsFileDiff" value="Cmd+Shift+D" />
<shortcut refid="vcsCommit" value="Cmd+Shift+M" />
<shortcut refid="previewHTML" value="Cmd+Shift+Y" />
<shortcut refid="knitToHTML" value="Cmd+Shift+H" />
<shortcut refid="synctexSearch" value="Cmd+F8" />
<shortcut refid="checkSpelling" value="F7" />
<shortcut refid="fold" value="Alt+L"/>
<shortcut refid="unfold" value="Shift+Alt+L" />
<shortcut refid="foldAll" value="Alt+A" />
<shortcut refid="unfoldAll" value="Shift+Alt+A"/>
<shortcut refid="buildAll" value="Cmd+Shift+B"/>
<shortcut refid="checkPackage" value="Cmd+Shift+E"/>
</shortcuts>
<!--
Valid cmd attributes:
id The unique name for this command. There must be a matching
method with this name on the CommandBundle subinterface.
label The user-visible name for this command. Will be used on
buttons and menus unless overridden by menuLabel or
buttonLabel.
menuLabel The name that will be displayed in the main menu and/or
popup menus.
buttonLabel The name that will be displayed on toolbar buttons.
desc A short description to be used as a tooltip.
enabled [true|false] Whether the command should start out as enabled
or disabled. Defaults to true.
visible [true|false] Whether the command should start out as visible
or hidden. Defaults to true.
-->
<cmd id="setWorkingDirToActiveDoc"
buttonLabel=""
menuLabel="To Source File Location"
desc="Change working directory to path of active document"/>
<cmd id="setWorkingDirToFilesPane"
buttonLabel=""
menuLabel="To _Files Pane Location"
desc="Change working directory to location of Files pane"/>
<cmd id="setWorkingDir"
buttonLabel=""
menuLabel="_Choose Directory..."
desc="Select and change to a new working directory"/>
<cmd id="newSourceDoc"
buttonLabel=""
menuLabel="_R Script"
desc="Create a new R script"/>
<cmd id="newTextDoc"
menuLabel="_Text File"
desc="Create a new text file"/>
<cmd id="newSweaveDoc"
menuLabel="R _Sweave"
desc="Create a new R Sweave document"/>
<cmd id="newRMarkdownDoc"
menuLabel="R _Markdown"
desc="Create a new R Markdown document"/>
<cmd id="openSourceDoc"
menuLabel="_Open File..."
buttonLabel=""
desc="Open an existing file"/>
<cmd id="reopenSourceDocWithEncoding"
menuLabel="Reopen with _Encoding..."
buttonLabel=""
desc="Reopen the current file with a different encoding"/>
<cmd id="saveSourceDoc"
menuLabel="_Save"
buttonLabel=""
desc="Save current document"/>
<cmd id="saveSourceDocAs"
menuLabel="Save _As..."
buttonLabel="Save as"
desc="Save current file to a specific path" />
<cmd id="saveAllSourceDocs"
menuLabel="Sa_ve All"
buttonLabel=""
desc="Save all open documents"/>
<cmd id="saveSourceDocWithEncoding"
menuLabel="Save with Encoding..."
desc="Save the current file with a different encoding"/>
<cmd id="closeSourceDoc"
menuLabel="_Close"
enabled="false"
preventShortcutWhenDisabled="org.rstudio.studio.client.application.Desktop.isDesktop()"/>
<cmd id="closeAllSourceDocs"
menuLabel="C_lose All"/>
<cmd id="vcsFileDiff"
menuLabel="_Diff of"
desc="Show differences for the file"/>
<cmd id="vcsFileLog"
menuLabel="_Log of"
desc="Show log of changes to the file"/>
<cmd id="vcsFileRevert"
menuLabel="_Revert"
desc="Revert changes to the file"/>
<cmd id="printSourceDoc"
menuLabel="_Print..."
buttonLabel=""
desc="Print the current file"/>
<cmd id="popoutDoc"
desc="Show in new window"/>
<cmd id="mru0" visible="false"/>
<cmd id="mru1" visible="false"/>
<cmd id="mru2" visible="false"/>
<cmd id="mru3" visible="false"/>
<cmd id="mru4" visible="false"/>
<cmd id="mru5" visible="false"/>
<cmd id="mru6" visible="false"/>
<cmd id="mru7" visible="false"/>
<cmd id="mru8" visible="false"/>
<cmd id="mru9" visible="false"/>
<cmd id="clearRecentFiles" menuLabel="Clear List"/>
<cmd id="newProject"
menuLabel="_New Project..."
buttonLabel=""
desc="Create a new project"/>
<cmd id="openProject"
menuLabel="_Open Project..."
buttonLabel=""
desc="Open a project"/>
<cmd id="openProjectInNewWindow"
menuLabel="Open Project in New _Window..."
buttonLabel=""
desc="Open a project in a new window"/>
<cmd id="projectMru0" visible="false"/>
<cmd id="projectMru1" visible="false"/>
<cmd id="projectMru2" visible="false"/>
<cmd id="projectMru3" visible="false"/>
<cmd id="projectMru4" visible="false"/>
<cmd id="projectMru5" visible="false"/>
<cmd id="projectMru6" visible="false"/>
<cmd id="projectMru7" visible="false"/>
<cmd id="projectMru8" visible="false"/>
<cmd id="projectMru9" visible="false"/>
<cmd id="clearRecentProjects" menuLabel="Clear List"/>
<cmd id="closeProject"
menuLabel="_Close Project"
buttonLabel=""
desc="Close the currently open project"/>
<cmd id="projectOptions"
menuLabel="_Project Options..."
buttonLabel=""
desc="Edit options for the current project"/>
<cmd id="projectSweaveOptions"
menuLabel=""
buttonLabel=""
desc=""/>
<cmd id="showToolbar"
menuLabel="Show _Toolbar"/>
<cmd id="hideToolbar"
menuLabel="Hide _Toolbar"/>
<cmd id="goToFileFunction"
menuLabel="Go to File/F_unction..."/>
<cmd id="activateSource"
menuLabel="Move Cursor to Sou_rce"/>
<cmd id="activateConsole"
menuLabel="Move Cursor to _Console"/>
<cmd id="activateWorkspace"
menuLabel="Show _Workspace"/>
<cmd id="activateData"
menuLabel="Show _Data"/>
<cmd id="activateHistory"
menuLabel="Show Histor_y"/>
<cmd id="activateFiles"
menuLabel="Show F_iles"/>
<cmd id="activatePlots"
menuLabel="Show Pl_ots"/>
<cmd id="activatePackages"
menuLabel="Show P_ackages"/>
<cmd id="activateHelp"
menuLabel="Show _Help"/>
<cmd id="activateVcs"
menuLabel="Show _Vcs"/>
<cmd id="activateBuild"
menuLabel="Show _Build"/>
<cmd id="jumpTo"
menuLabel="_Jump To..."/>
<cmd id="switchToTab"
menuLabel="Switch to Ta_b..."/>
<cmd id="previousTab"
menuLabel="_Previous Tab"/>
<cmd id="nextTab"
menuLabel="_Next Tab"/>
<cmd id="firstTab"
menuLabel="_First Tab"/>
<cmd id="lastTab"
menuLabel="_Last Tab"/>
<cmd id="goToLine"
menuLabel="_Go to Line..."/>
<cmd id="find"
menuLabel="_Find..."/>
<cmd id="findReplace"
menuLabel="_Find and Replace..."/>
<cmd id="findInFiles"
menuLabel="Find _in Files..."/>
<cmd id="fold"
menuLabel="Collapse"/>
<cmd id="unfold"
menuLabel="Expand"/>
<cmd id="foldAll"
menuLabel="Collapse All"/>
<cmd id="unfoldAll"
menuLabel="Expand All"/>
<cmd id="executeAllCode"
buttonLabel=""
menuLabel="Run _All"
desc="Run all of the code in the source file"/>
<cmd id="executeCode"
buttonLabel="Run"
menuLabel="Run _Line(s)"
desc="Run the current line or selection"/>
<cmd id="executeToCurrentLine"
menuLabel="Run From _Beginning To Line"
desc="Run from the beginning of the source file up through the current line"/>
<cmd id="executeFromCurrentLine"
menuLabel="Run From Line to _End"
desc="Run from the current line through the end of the source file"/>
<cmd id="executeCurrentFunction"
menuLabel="Run _Function Definition"
desc="Run the top-level function definition, if any, that contains the cursor"/>
<cmd id="executeLastCode"
menuLabel="Re-Run _Previous"
desc="Re-run the previous code region"/>
<cmd id="insertChunk"
menuLabel="_Insert Chunk"
desc="Insert a new code chunk"/>
<cmd id="insertSection"
menuLabel="_Insert Section..."
desc="Insert a new code section"/>
<cmd id="executeCurrentChunk"
menuLabel="Run _Current Chunk"
desc="Run the current code chunk"/>
<cmd id="executeNextChunk"
menuLabel="Run _Next Chunk"
desc="Run the next code chunk"/>
<cmd id ="goToFunctionDefinition"
menuLabel="_Go To Function Definition"
desc="Go to to the definition of the currently highlighted function"/>
<cmd id = "sourceNavigateBack"
menuLabel="Bac_k"
desc="Go back to the previous source location"/>
<cmd id = "sourceNavigateForward"
menuLabel="For_ward"
desc="Go forward to the next source location"/>
<cmd id="extractFunction"
menuLabel="E_xtract Function"
desc="Turn the current selection into a function"/>
<cmd id="sourceFile"
buttonLabel=""
menuLabel="Source _File..."
desc="Source the contents of an R file"/>
<cmd id="sourceActiveDocument"
buttonLabel="Source"
menuLabel="_Source"
desc="Source the contents of the active document"/>
<cmd id="sourceActiveDocumentWithEcho"
buttonLabel=""
menuLabel="Source with _Echo"
desc="Source the contents of the active document (with echo)"/>
<cmd id="commentUncomment"
menuLabel="_Comment/Uncomment Lines"
desc="Comment or uncomment the current line/selection"/>
<cmd id="reindent"
menuLabel="_Reindent Lines"
desc="Reindent the current line/selection"/>
<cmd id="reflowComment"
menuLabel="Reflow Co_mment"
desc="Reflow selected comment lines so they wrap evenly"/>
<cmd id="markdownHelp"
menuLabel="_Markdown Quick Reference"
desc="Markdown quick reference"/>
<cmd id="knitToHTML"
buttonLabel="Knit HTML"
menuLabel="Knit HTML"
desc="Knit the current document to HTML"/>
<cmd id="previewHTML"
buttonLabel="Preview"
menuLabel="Preview HTML"
desc="Show a preview of the current document as HTML"/>
<cmd id="publishHTML"
buttonLabel="Publish"
menuLabel="Publish to RPubs..."
desc="Publish the current document"/>
<cmd id="compilePDF"
buttonLabel="Compile PDF"
menuLabel="Compile PDF"
desc="Compile a PDF from the current LaTeX or Sweave document"/>
<cmd id="compileNotebook"
menuLabel="Compile Notebook..."
desc="Compile an HTML notebook from the current R script"/>
<cmd id="synctexSearch"
menuLabel="S_ync PDF View to Editor"
buttonLabel=""
desc="Sync PDF view to editor location (Ctrl+Click)"/>
<cmd id="checkSpelling"
menuLabel="Check _Spelling..."/>
<cmd id="newFolder"
menuLabel="Folder..."
buttonLabel="New Folder"
desc="Create a new folder"/>
<cmd id="uploadFile"
menuLabel="Upload Files..."
buttonLabel="Upload"
desc="Upload files to server"/>
<cmd id="copyFile"
menuLabel="Copy..."
buttonLabel="Copy"
desc="Copy selected file or folder"/>
<cmd id="moveFiles"
menuLabel="Move..."
buttonLabel="Move"
desc="Move selected files or folders"/>
<cmd id="exportFiles"
menuLabel="Export..."
buttonLabel="Export"
desc="Export selected files or folders"/>
<cmd id="renameFile"
buttonLabel="Rename"
desc="Rename selected file or folder"/>
<cmd id="deleteFiles"
buttonLabel="Delete"
desc="Delete selected files or folders"/>
<cmd id="refreshFiles"
menuLabel="Refresh"
desc="Refresh file listing"/>
<cmd id="goToWorkingDir"
buttonLabel = ""
menuLabel="Go To Working Directory"
desc="View the current working directory"/>
<cmd id="setAsWorkingDir"
label="Set As Working Directory"/>
<cmd id="showFolder"
label="Show Folder in New Window"
visible="false"/>
<cmd id="vcsAddFiles"
menuLabel="Add"
buttonLabel="Add"
desc="Add the selected files or folders"/>
<cmd id="vcsRemoveFiles"
menuLabel="Delete"
buttonLabel="Delete"
desc="Delete the selected files or folders"/>
<!-- VCS pane -->
<cmd id="vcsDiff"
buttonLabel="Diff"
menuLabel="Diff"
desc="Diff selected file(s)"/>
<cmd id="vcsCommit"
buttonLabel="Commit"
menuLabel="_Commit..."
desc="Commit pending changes"/>
<cmd id="vcsRevert"
buttonLabel="Revert"
menuLabel="Revert..."
desc="Revert selected changes"/>
<cmd id="vcsShowHistory"
menuLabel="_History"
desc="View history of previous commits"/>
<cmd id="vcsRefresh"
desc="Refresh listing"/>
<cmd id="vcsRefreshNoError"/>
<cmd id="vcsOpen"
menuLabel="Open File"
desc="Open selected file(s)"/>
<cmd id="vcsIgnore"
menuLabel="Ignore..."
buttonLabel="Ignore"
desc="Ignore the selected files or folders"/>
<cmd id="vcsPull"
menuLabel="_Pull Branches"
buttonLabel="Pull"/>
<cmd id="vcsPush"
menuLabel="P_ush Branch"
buttonLabel="Push"/>
<cmd id="vcsCleanup"
menuLabel="Cleanu_p"
buttonLabel="Cleanup"
desc="Recursively clean up the working copy (removing locks, etc)"/>
<cmd id="consoleClear"
menuLabel="Cle_ar Console"/>
<cmd id="interruptR"
menuLabel="_Interrupt R"/>
<cmd id="restartR"
menuLabel="_Restart R..."/>
<cmd id="vcsResolve"
menuLabel="Resolve..."
buttonLabel="Resolve"
desc="Resolve conflicts in the selected files or folders"/>
<!-- PDF Viewer -->
<cmd id="showPdfExternal"
menuLabel="Show PDF in External Viewer"
desc="Show in an external PDF viewer window"/>
<!-- HTML Preview -->
<cmd id="openHtmlExternal"
buttonLabel=""
desc="View the page with the system web browser"/>
<cmd id="saveHtmlPreviewAsLocalFile"
menuLabel="File on Local Computer..."
desc="Download the page to a local file"/>
<cmd id="saveHtmlPreviewAs"
menuLabel="File on RStudio Server..."
buttonLabel="Save As"
desc="Save the page to another location"/>
<cmd id="refreshHtmlPreview"
desc="Refresh the preview"/>
<cmd id="historySendToSource"
menuLabel="Insert into _Source"
buttonLabel="To Source"
desc="Insert the selected commands into the current document (Shift+Enter)"/>
<cmd id="historySendToConsole"
menuLabel="Send to _Console"
buttonLabel="To Console"
desc="Send the selected commands to the R console (Enter)"/>
<cmd id="searchHistory"
menuLabel="Search History"
buttonLabel=""
desc="Search history for commands matching a pattern"/>
<cmd id="loadHistory"
menuLabel="_Load History..."
buttonLabel=""
desc="Load history from an existing file"/>
<cmd id="saveHistory"
menuLabel="Sa_ve History As..."
buttonLabel=""
desc="Save history into a file"/>
<cmd id="historyRemoveEntries"
menuLabel="_Remove Entries..."
buttonLabel=""
desc="Remove the selected history entries"/>
<cmd id="clearHistory"
menuLabel="Clear _All..."
buttonLabel=""
desc="Clear all history entries"/>
<cmd id="historyDismissResults"
label="Done" />
<cmd id="historyShowContext"
label="Show In Context" />
<cmd id="historyDismissContext"
label="« Back" />
<cmd id="nextPlot"
buttonLabel=""
menuLabel="_Next Plot"
desc="Next plot"/>
<cmd id="previousPlot"
buttonLabel=""
menuLabel="_Previous Plot"
desc="Previous plot"/>
<cmd id="savePlotAsImage"
menuLabel="Save Plot as _Image..."
desc="Save the current plot as an image file"/>
<cmd id="savePlotAsPdf"
menuLabel="Save Plot as P_DF..."
desc="Save the current plot as a PDF file"/>
<cmd id="copyPlotToClipboard"
menuLabel="Cop_y Plot to Clipboard..."
desc="Copy the current plot to the clipboard"/>
<cmd id ="zoomPlot"
menuLabel="_Zoom Plot..."
buttonLabel="Zoom"
desc="View a larger version of the plot in a new window"/>
<cmd id="removePlot"
buttonLabel=""
menuLabel="_Remove Plot..."
desc="Remove the current plot"/>
<cmd id="clearPlots"
buttonLabel="Clear All"
menuLabel="_Clear All..."
desc="Clear all Plots"/>
<cmd id="refreshPlot"
buttonLabel=""
menuLabel="Refresh"
desc="Refresh current plot"/>
<cmd id="showManipulator"
buttonLabel=""
menuLabel="Show _Manipulator"
desc="Show the manipulator for this plot"/>
<cmd id="clearWorkspace"
menuLabel="_Clear All..."
buttonLabel="Clear All"/>
<cmd id="loadWorkspace"
menuLabel="_Load Workspace..."/>
<cmd id="loadDefaultWorkspace"
menuLabel="Load _Default Workspace"/>
<cmd id="saveWorkspace"
menuLabel="_Save Workspace As..."/>
<cmd id="saveDefaultWorkspace"
menuLabel="Save _As Default Workspace"/>
<cmd id="importDatasetFromFile"
menuLabel="From _Text File..."/>
<cmd id="importDatasetFromURL"
menuLabel="From _Web URL..."/>
<cmd id="refreshWorkspace"
buttonLabel=""
menuLabel="Refresh"
desc="Refresh Workspace"/>
<cmd id="installPackage"
menuLabel="Install _Packages..."
buttonLabel="Install Packages"
desc="Install R packages" />
<cmd id="updatePackages"
menuLabel="Check for Package _Updates..."
buttonLabel="Check for Updates"
desc="Check for package updates" />
<cmd id="versionControlOptions"
menuLabel="_Options..."
desc="Configure version control options"/>
<cmd id="versionControlHelp"
menuLabel="_Using Version Control"
desc="Help on using version control with RStudio"/>
<cmd id="versionControlShowRsaKey"
menuLabel="Show Public Key..."
desc="Show RSA public key"/>
<cmd id="versionControlProjectSetup"
menuLabel="Project _Setup..."
desc="Setup version control for the current project"/>
<cmd id="showShellDialog"
menuLabel="_Shell..."
desc="Execute shell commands(s)"/>
<cmd id="showOptions"
menuLabel="_Options..."/>
<cmd id="checkForUpdates"
menuLabel="Check for _Updates"
visible="false"/>
<cmd id="helpUsingRStudio"
menuLabel="RStudio _Docs"/>
<cmd id="helpKeyboardShortcuts"
menuLabel="_Keyboard Shortcuts" />
<cmd id="helpBack"
buttonLabel=""
desc="Previous topic"/>
<cmd id="helpForward"
buttonLabel=""
desc="Next topic"/>
<cmd id="helpHome"
menuLabel="R _Help"
buttonLabel=""
desc="Help home"/>
<cmd id="printHelp"
buttonLabel=""
desc="Print topic"/>
<cmd id="clearHelpHistory"
menuLabel="Clear history"
desc="Clear history"/>
<cmd id="helpPopout"
buttonLabel=""
desc="Show in new window"/>
<cmd id="refreshHelp"
menuLabel="Refresh"
desc="Refresh topic"/>
<cmd id="raiseException"
menuLabel="Raise Exception"/>
<cmd id="raiseException2"
menuLabel="Raise Exception JS"/>
<cmd id="showWarningBar"
menuLabel="Show warning bar"/>
<cmd id="showRequestLog"
menuLabel="_Request Log"/>
<cmd id="logFocusedElement"
menuLabel="Log focused element"/>
<cmd id="debugDumpContents"
menuLabel="_Dump Editor Contents..."/>
<cmd id="debugImportDump"
menuLabel="_Import Editor Contents..."/>