forked from stef-levesque/vscode-perforce
-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathpackage.json
More file actions
2090 lines (2090 loc) · 89.5 KB
/
package.json
File metadata and controls
2090 lines (2090 loc) · 89.5 KB
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
{
"name": "perforce",
"displayName": "Perforce for VS Code",
"description": "(2020 Fork) Perforce integration with VS Code's SCM features",
"version": "4.17.0",
"publisher": "mjcrouch",
"license": "MIT",
"categories": [
"SCM Providers"
],
"icon": "icon.png",
"bugs": {
"url": "https://github.com/mjcrouch/vscode-perforce/issues"
},
"homepage": "https://github.com/mjcrouch/vscode-perforce/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/mjcrouch/vscode-perforce.git"
},
"galleryBanner": {
"color": "#5c2d91",
"theme": "dark"
},
"engines": {
"vscode": "^1.53.0"
},
"keywords": [
"vscode",
"scm",
"perforce",
"multi-root ready"
],
"main": "./dist/extension",
"activationEvents": [
"*"
],
"contributes": {
"viewsWelcome": [
{
"view": "scm",
"contents": "Perforce\nNo perforce client workspace detected for the open folder(s)",
"when": "config.perforce.activationMode != off && perforce.activation.status == complete"
},
{
"view": "scm",
"contents": "Perforce\nLooking for perforce client workspaces...",
"when": "config.perforce.activationMode != off && !perforce.activation.status"
},
{
"view": "scm",
"contents": "Perforce\nOpen a folder to detect perforce client workspaces",
"when": "config.perforce.activationMode != off && perforce.activation.status == noworkspace"
},
{
"view": "scm",
"contents": "Perforce\nperforce.activationMode is set to `off`",
"when": "config.perforce.activationMode == off"
},
{
"view": "scm",
"contents": "[Check the Perforce Output Logs](command:perforce.showOutput)\nFor more help:\n[Read the Perforce Setup Guide](https://github.com/mjcrouch/vscode-perforce#setup)\n"
},
{
"view": "scm",
"contents": "Note: A possible perforce client was detected, but the open folder is not within the client root, and vice versa. [Check the output log](command:perforce.showOutput) for client names and paths",
"when": "perforce.activation.foundOutOfRoot"
},
{
"view": "scm",
"contents": "Note: P4CONFIG is not set in your environment, so P4CONFIG files will not be detected",
"when": "perforce.activation.noP4Config"
}
],
"configuration": {
"type": "object",
"title": "Perforce",
"properties": {
"perforce.bottleneck.maxConcurrent": {
"scope": "application",
"type": "number",
"description": "How many perforce commands can be executing at the same time. This is intended to prevent the extension from overloading the perforce server if many files are modified at the same time. Further commands will be queued until the number of running commands reduces. Use 0 for unlimited (not recommended)",
"minimum": 0,
"default": 10
},
"perforce.debugModeActive": {
"type": "boolean",
"default": false,
"description": "When enabled, logs information about command throttling to the javascript console (open with 'Toggle Developer Tools')"
},
"perforce.debugP4Commands": {
"type": "boolean",
"default": false,
"scope": "window",
"description": "When enabled, logs all perforce commands and their output to the javascript console (open with 'Toggle Developer Tools'). This may be a *lot* of output and will include raw passwords if present"
},
"perforce.activationMode": {
"type": "string",
"description": "Controls when to activate the SCM Provider and P4 status bar icon. Requires a restart to take effect",
"enum": [
"always",
"autodetect",
"off"
],
"enumDescriptions": [
"Always try to activate the the SCM provider and P4 status icon",
"Only activate the SCM provider when a perforce client is found in the workspace",
"Never try to activate"
],
"default": "autodetect"
},
"perforce.scm.activateOnFileOpen": {
"type": "boolean",
"description": "Controls whether the extension attempts to create an SCM provider each time a file outside of a known perforce client workspace is opened",
"default": true
},
"perforce.scm.deactivateOnFileClose": {
"type": "boolean",
"description": "Controls whether an SCM provider is de-activated when there are no more related files or folders open in the editor",
"default": true
},
"perforce.editOnFileSave": {
"type": "boolean",
"default": false,
"description": "Automatically open a file for edit when saved"
},
"perforce.editOnFileModified": {
"type": "boolean",
"default": false,
"description": "Automatically open a file for edit when Modified"
},
"perforce.addOnFileCreate": {
"type": "boolean",
"default": false,
"description": "Automatically Add a file to depot when Created"
},
"perforce.deleteOnFileDelete": {
"type": "boolean",
"default": false,
"description": "Automatically delete a file from depot when deleted"
},
"perforce.enableFileSystemActionsWithoutFolder": {
"type": "boolean",
"default": true,
"description": "Allows file system actions (e.g. edit on save) to react to file system changes when no VS Code folder is open"
},
"perforce.annotate.followBranches": {
"type": "boolean",
"default": true,
"description": "Whether to follow branch actions when annotating a file"
},
"perforce.annotate.gutterColumns": {
"type": "array",
"default": [
"{#}revision|3",
"user|7",
"description|22",
"->timeAgo|14"
],
"description": "EXPERIMENTAL - SUBJECT TO CHANGE\nThe format for displaying summary text for perforce annotations.\nEach line represents a column, followed by its default length.\n\nThe following flags may appear before the column name, IN THIS ORDER:\n -> : align text to the right, when the text does not fill the column (preceding fields will reclaim spaces)\n {text} : prefix text with the value in curly braces\n ... : truncate the text from the beginning, instead of the end\n\nThe following columns are supported:\nrevision, chnum, user, client, description, timeAgo\n\nFor example, a column '{@}...user|5' will turn the username 'Xavier' into '@…vier'",
"items": {
"type": "string",
"pattern": "^(->)?(\\{.*?\\})?(\\.{3})?(revision|chnum|user|client|description|timeAgo)\\|\\d+$"
}
},
"perforce.client": {
"type": "string",
"default": "none",
"description": "Overrides any P4CLIENT setting with the specified client name",
"scope": "resource"
},
"perforce.user": {
"type": "string",
"default": "none",
"description": "Overrides any P4USER, USER, or USERNAME setting with the specified user name",
"scope": "resource"
},
"perforce.port": {
"type": "string",
"default": "none",
"description": "Overrides any P4PORT setting with the specified protocol:host:port",
"scope": "resource"
},
"perforce.password": {
"type": "string",
"default": "none",
"description": "Overrides any P4PASSWD setting with the specified password",
"scope": "resource"
},
"perforce.dir": {
"type": "string",
"default": "none",
"description": "Overrides any PWD setting (current working directory) and replaces it with the specified directory. This item should NOT normally be used - it is only useful in very specific cases, typically when the vs code workspace contains filesystem links to an actual perforce client workspace.",
"scope": "resource"
},
"perforce.charset": {
"type": "string",
"default": "none",
"markdownDescription": "Overrides any P4CHARSET setting for files having filetype `unicode` or `utf16`.",
"scope": "resource",
"enum": [
"none",
"iso8859-1",
"iso8859-15",
"eucjp",
"shiftjis",
"winansi",
"macosroman",
"utf8",
"utf8-bom",
"utf8unchecked",
"utf8unchecked-bom",
"utf16",
"utf16le",
"utf16be",
"utf16-nobom",
"utf16le-nobom",
"utf16be-nobom",
"utf32",
"utf32le",
"utf32be",
"utf32-nobom",
"utf32le-nobom",
"utf32be-nobom"
],
"enumItemLabels": [
"System Default",
"ISO 8859-1",
"ISO 8859-15",
"EUC-JP",
"Shift-JIS",
"Windows ANSI",
"Mac OS Roman",
"UTF-8",
"UTF-8 with BOM",
"UTF-8 (unchecked)",
"UTF-8 (unchecked) with BOM",
"UTF-16",
"UTF-16 LE",
"UTF-16 BE",
"UTF-16 without BOM",
"UTF-16 LE without BOM",
"UTF-16 BE without BOM",
"UTF-32",
"UTF-32 LE",
"UTF-32 BE",
"UTF-32 without BOM",
"UTF-32 LE without BOM",
"UTF-32 BE without BOM"
],
"enumDescriptions": [
"Use system default charset.",
"Use ISO/IEC 8859-1 (Latin-1).",
"Use ISO/IEC 8859-15 (Latin-9).",
"Use EUC-JP.",
"Use Shift-JIS.",
"Use current ANSI codepage on Windows.",
"Use Roman charset on Mac OS.",
"Use UTF-8.",
"Use UTF-8 with byte order mark (BOM).",
"Use UTF-8, and suppress Helix Server UTF-8 validation.",
"Use UTF-8 with byte order mark (BOM), and suppress Helix Server UTF-8 validation.",
"Use UTF-16.",
"Use UTF-16 in little endian (LE).",
"Use UTF-16 in big endian (BE).",
"Use UTF-16 with byte order mark (BOM).",
"Use UTF-16 in little endian (LE) with byte order mark (BOM).",
"Use UTF-16 in big endian (BE) with byte order mark (BOM).",
"Use UTF-32.",
"Use UTF-32 in little endian (LE).",
"Use UTF-32 in big endian (BE).",
"Use UTF-32 with byte order mark (BOM).",
"Use UTF-32 in little endian (LE) with byte order mark (BOM).",
"Use UTF-32 in big endian (BE) with byte order mark (BOM)."
]
},
"perforce.command": {
"type": "string",
"default": "none",
"description": "Configure a path to p4 or an alternate command if needed"
},
"perforce.resolve.p4editor": {
"type": "string",
"default": "",
"description": "Overrides P4EDITOR when running resolve commands, allowing you to use a different editor to edit the merge file. Use an empty value to not override.\n\nUse `code --wait` to resolve files in vscode. When editing a merge file in vscode, save the file and close it to continue the resolve.\n\nIMPORTANT: `code --wait` DOES NOT APPEAR TO WORK AS A P4EDITOR ON WINDOWS"
},
"perforce.countBadge": {
"type": "string",
"description": "Controls the badge counter for Perforce",
"enum": [
"all-but-shelved",
"all",
"off"
],
"enumDescriptions": [
"Include all files in count except for shelved files (default)",
"Include all files in count",
"No badge counter"
],
"default": "all-but-shelved"
},
"perforce.changelistOrder": {
"type": "string",
"default": "descending",
"enum": [
"descending",
"ascending"
],
"description": "Specifies the direction of the chnagelist sorting"
},
"perforce.scmFileChanges": {
"type": "boolean",
"default": true,
"description": "Open file changes when selected in SCM Explorer"
},
"perforce.maxFilePerCommand": {
"type": "number",
"minimum": 1,
"default": 32,
"description": "Specify the maximum number of file should be processed in a single command line (doesn't include changelist operations). Default is 32"
},
"perforce.realpath": {
"type": "boolean",
"default": false,
"description": "Try to resolve real file path before executing command."
},
"perforce.binaryAsText": {
"type": "boolean",
"default": false,
"description": "Handle binary files similarly to text files in workflows (e.g. diff, annotate, ...)"
},
"perforce.ignoredChangelistPrefix": {
"type": "string",
"description": "Specifies the prefix of the changelists to be ignored."
},
"perforce.hideNonWorkspaceFiles": {
"type": "string",
"enum": [
"show all files",
"hide changelists",
"hide changelists, hide files in default changelist",
"hide non workspace files"
],
"enumDescriptions": [
"show all files",
"hide changelists that contain ONLY non-workspace files. Show non-workspace files in other changelists",
"hide changelists that contain ONLY non-workspace files. Show non-workspace files in other changelists, except the default changelist",
"show all changelists, but hide all non-workspace files within them (see WARNING)"
],
"default": "show all files",
"description": "Controls how files outside of the current VS Code workspace are shown in the SCM Provider.\n\nNote: even if you open non-workspace files in the editor, they will not be considered as workspace files.\n\nWARNING: If you select to hide all non-workspace files, and then submit changelists other than the default, it will submit files that are not visible! It is recommended to hide changelists instead"
},
"perforce.syncMode": {
"type": "string",
"enum": [
"whole client",
"workspace only"
],
"enumDescriptions": [
"Always sync the whole perforce client workspace (i.e. perform a bare p4 sync), even if the VS Code workspace is only a subset of the perforce client workspace",
"Only sync the workspace folder(s) that are open in VS Code (i.e. perform a p4 sync with a set of paths). NOTE: If you open a file from the same client but outside of the VS Code workspace, this will NOT be synced. If you open a file from another perforce client and the SCM provider is auto detected, the WHOLE perforce client will be synced"
],
"default": "whole client",
"description": "Controls the set of files to sync when using the default sync command. If you use a very large perforce client workspace and only open a small part of it in VS Code, this can prevent accidentally syncing a large number of files"
},
"perforce.hideShelvedFiles": {
"type": "boolean",
"default": false,
"description": "Don't show the shelved files in the Source Control section."
},
"perforce.hideEmptyChangelists": {
"type": "boolean",
"default": false,
"description": "Don't show changelists without any file in the Source Control section."
},
"perforce.fileShelveMode": {
"type": "string",
"description": "Controls the behaviour when shelving / unshelving an individual file",
"default": "prompt",
"enum": [
"swap",
"keep both",
"prompt"
],
"enumDescriptions": [
"When shelving, always try to revert the open file. When unshelving, always try to delete the shelved file",
"When shelving, never try to revert the open file. When unshelving, never try to delete the shelved file",
"When shelving, prompt for whether to revert the open file. When unshelving, prompt for whether to delete the shelved file"
]
},
"perforce.swarmHost": {
"type": "string",
"description": "Specifies the host of the Swarm server, allowing you to open the review for a changelist from the SCM provider, annotations and the changelist quick pick. Include the protocol, e.g. https://my_swarm_host\n\nIf you use another changelist-based review tool, enter the full URL for a review request, including the term `${chnum}`, which will be replaced with the changelist number. e.g. http://reviews/search/?q=${chnum}"
},
"perforce.hideSubmitIcon": {
"type": "boolean",
"default": false,
"description": "Don't show the submit icon next to the changelist description."
},
"perforce.promptBeforeSubmit": {
"type": "boolean",
"default": true,
"description": "Whether to prompt for confirmation, before submitting a saved changelist"
},
"perforce.editorButtons.diffPrevAndNext": {
"type": "string",
"enum": [
"All diffable files",
"Only on diffs",
"Never"
],
"enumDescriptions": [
"Show the previous button on all perforce files and files with a known status in perforce",
"Only show the previous button when already looking at a diff (it's still possible to diff previous from the extended context menu)",
"Never show the previous / next buttons (it's still possible to navigate diffs from the extended context menu)"
],
"default": "All diffable files",
"description": "When to show buttons on the editor title menu for diffing the next / previous revision"
},
"perforce.enableP4ConfigScanOnStartup": {
"type": "boolean",
"default": true,
"description": "Whether to scan the workspace for perforce P4CONFIG files, in order to find perforce clients to show in the SCM Provider view. Disabling this setting is NOT generally recommeded, but if you have a very large workspace containing many directories, and you do NOT have P4CONFIG files outside of the workspace root, this can reduce startup time",
"scope": "resource"
},
"perforce.warnOnMissingP4CONFIG": {
"type": "boolean",
"default": true,
"description": "When enabled, if a .p4config file is found in the workspace, but P4CONFIG is not set in the environment, a warning will be shown. This is due to a change in behaviour of handling these files in v4 which may break backward compatibility"
},
"perforce.changelistSearch.maxResults": {
"type": "number",
"default": 200,
"description": "The maximum number of results to return in the changelist search",
"minimum": 1
},
"perforce.explorer.showSyncCommands": {
"type": "boolean",
"default": true,
"description": "Whether to show sync commands on the explorer context menu"
},
"perforce.explorer.showBasicOpCommands": {
"type": "boolean",
"default": true,
"description": "Whether to show basic operation commands on the explorer context menu (add / edit / revert)"
},
"perforce.explorer.showFileOpCommands": {
"type": "boolean",
"default": true,
"description": "Whether to show file operation commands on the explorer context menu (move / rename etc)"
},
"perforce.specEditor.showIndentWarning": {
"type": "boolean",
"default": true,
"description": "Whether to show a warning when editing a change or job spec and the editor is set to use spaces instead of tabs"
}
}
},
"views": {
"scm": [
{
"id": "perforce.searchChangelists",
"name": "Search Changelists",
"when": "perforce.activation.hasScmProvider",
"icon": "resources/icons/p4view.svg"
}
]
},
"commands": [
{
"command": "perforce.menuFunctions",
"title": "Show Perforce functions",
"category": "Perforce"
},
{
"command": "perforce.showOutput",
"title": "Show Output",
"category": "Perforce"
},
{
"command": "perforce.login",
"title": "Log in to Perforce",
"category": "Perforce"
},
{
"command": "perforce.closeScm",
"title": "Close Perforce Client",
"category": "Perforce"
},
{
"command": "perforce.loginScm",
"title": "Log in to Perforce",
"category": "Perforce"
},
{
"command": "perforce.logout",
"title": "Log out from Perforce",
"category": "Perforce"
},
{
"command": "perforce.logoutScm",
"title": "Log out of Perforce",
"category": "Perforce"
},
{
"command": "perforce.add",
"title": "Add - Open the current file to add it to the depot",
"category": "Perforce"
},
{
"command": "perforce.edit",
"title": "Edit - Open the current file for edit",
"category": "Perforce"
},
{
"command": "perforce.editAndSave",
"title": "Edit and Save - Open the current file for edit, and then save it",
"category": "Perforce"
},
{
"command": "perforce.delete",
"title": "Delete - Delete the current file",
"category": "Perforce"
},
{
"command": "perforce.revert",
"title": "Revert - Discard changes from the current file",
"category": "Perforce"
},
{
"command": "perforce.syncOpenFile",
"title": "Sync file - Sync the open file to the latest revision",
"category": "Perforce"
},
{
"command": "perforce.syncOpenFileRevision",
"title": "Sync file revision - Sync the open file to a specific revision",
"category": "Perforce"
},
{
"command": "perforce.diff",
"title": "Diff - Display diff of client file with depot file",
"category": "Perforce"
},
{
"command": "perforce.diffRevision",
"title": "Diff revision - Display diff of client file with depot file at a specific revision",
"category": "Perforce"
},
{
"command": "perforce.diffFiles",
"title": "Diff two specific files / revisions",
"category": "Perforce"
},
{
"command": "perforce.diffPrevious",
"title": "Diff against the previous revision",
"icon": "$(arrow-left)",
"category": "Perforce",
"enablement": "perforce.currentFile.resourceRevision != 1"
},
{
"command": "perforce.diffPreviousFromDiff",
"title": "Diff against the previous revision",
"icon": "$(arrow-left)",
"category": "Perforce",
"enablement": "isInDiffEditor && perforce.currentFile.resourceRevision != 1 && !perforce.currentFile.isRightDiffOnRev2"
},
{
"command": "perforce.diffNext",
"title": "Diff against the next revision",
"icon": "$(arrow-right)",
"category": "Perforce",
"enablement": "resourceScheme == perforce"
},
{
"command": "perforce.annotate",
"title": "Annotate - Print file lines and their revisions in the gutter",
"category": "Perforce"
},
{
"command": "perforce.info",
"title": "Display client/server information",
"category": "Perforce",
"icon": {
"light": "resources/icons/light/p4.svg",
"dark": "resources/icons/dark/p4.svg"
}
},
{
"command": "perforce.explorer.syncPath",
"title": "Sync",
"category": "Perforce"
},
{
"command": "perforce.explorer.add",
"title": "Add file(s)",
"category": "Perforce"
},
{
"command": "perforce.explorer.edit",
"title": "Edit file(s)",
"category": "Perforce"
},
{
"command": "perforce.explorer.revert",
"title": "Revert file(s)",
"category": "Perforce"
},
{
"command": "perforce.explorer.revertUnchanged",
"title": "Revert unchanged file(s)",
"category": "Perforce"
},
{
"command": "perforce.explorer.move",
"title": "Move / Rename",
"category": "Perforce"
},
{
"command": "perforce.explorer.delete",
"title": "Delete file(s)",
"category": "Perforce"
},
{
"command": "perforce.move",
"title": "Move - Move or Rename the open file",
"category": "Perforce"
},
{
"command": "perforce.Sync",
"title": "Sync",
"category": "Perforce",
"icon": "$(repo-pull)"
},
{
"command": "perforce.Refresh",
"title": "Refresh",
"category": "Perforce",
"icon": "$(refresh)"
},
{
"command": "perforce.CleanRefresh",
"title": "Refresh (clean)",
"category": "Perforce",
"icon": "$(refresh)"
},
{
"command": "perforce.submitDefault",
"title": "Submit Default Changelist",
"category": "Perforce",
"icon": "$(check)"
},
{
"command": "perforce.submitChangelist",
"title": "Submit changelist",
"category": "Perforce",
"icon": "$(check)"
},
{
"command": "perforce.submitSelectedFiles",
"title": "Submit selected files...",
"category": "Perforce"
},
{
"command": "perforce.submitSingle",
"title": "Submit the currently open file...",
"category": "Perforce"
},
{
"command": "perforce.openResource",
"title": "Open changes",
"category": "Perforce",
"icon": "$(diff)"
},
{
"command": "perforce.openResourcevShelved",
"title": "Open workspace vs shelved changes",
"category": "Perforce"
},
{
"command": "perforce.openFile",
"title": "Open file",
"category": "Perforce",
"icon": "$(go-to-file)"
},
{
"command": "perforce.revertFile",
"title": "Revert file",
"category": "Perforce",
"icon": "$(discard)"
},
{
"command": "perforce.revertUnchangedFile",
"title": "Revert file if unchanged",
"category": "Perforce",
"icon": "$(discard)"
},
{
"command": "perforce.revertChangelist",
"title": "Revert files in changelist",
"category": "Perforce",
"icon": "$(discard)"
},
{
"command": "perforce.revertUnchangedChangelist",
"title": "Revert unchanged files in changelist",
"category": "Perforce",
"icon": "$(discard)"
},
{
"command": "perforce.shelve",
"title": "Shelve file",
"category": "Perforce",
"icon": "$(fold-up)"
},
{
"command": "perforce.unshelve",
"title": "Unshelve file",
"category": "Perforce",
"icon": "$(fold-down)"
},
{
"command": "perforce.shelveChangelist",
"title": "Shelve changelist",
"category": "Perforce"
},
{
"command": "perforce.shelveRevertChangelist",
"title": "Shelve and revert changelist",
"category": "Perforce"
},
{
"command": "perforce.unshelveChangelist",
"title": "Unshelve changelist",
"category": "Perforce"
},
{
"command": "perforce.deleteShelvedChangelist",
"title": "Delete shelved files",
"category": "Perforce"
},
{
"command": "perforce.deleteShelvedFile",
"title": "Delete shelved file",
"category": "Perforce",
"icon": "$(trash)"
},
{
"command": "perforce.fixJob",
"title": "Attach job...",
"category": "Perforce"
},
{
"command": "perforce.unfixJob",
"title": "Remove job...",
"category": "Perforce"
},
{
"command": "perforce.describe",
"title": "Describe changelist",
"category": "Perforce"
},
{
"command": "perforce.editChangelist",
"title": "Edit changelist description",
"category": "Perforce",
"icon": "$(edit)"
},
{
"command": "perforce.editChangeSpec",
"title": "Edit changelist spec",
"category": "Perforce",
"icon": "$(edit)"
},
{
"command": "perforce.copyChangelistId",
"title": "Copy changelist number",
"category": "Perforce"
},
{
"command": "perforce.resolveChangelist",
"title": "Resolve changelist...",
"category": "Perforce"
},
{
"command": "perforce.reresolveChangelist",
"title": "Re-resolve changelist...",
"category": "Perforce"
},
{
"command": "perforce.resolveFiles",
"title": "Resolve...",
"category": "Perforce"
},
{
"command": "perforce.reresolveFiles",
"title": "Re-resolve...",
"category": "Perforce"
},
{
"command": "perforce.reopenFile",
"title": "Move to changelist...",
"category": "Perforce",
"icon": "$(move)"
},
{
"command": "perforce.opened",
"title": "Opened - Display 'open' files, and open one in the editor",
"category": "Perforce"
},
{
"command": "perforce.depotActions",
"title": "Show actions for this revision of the depot file",
"category": "Perforce",
"icon": "$(git-commit)",
"enablement": "perforce.currentFile.hasRevision"
},
{
"command": "perforce.openReviewTool",
"title": "Open changelist in review tool",
"category": "Perforce",
"icon": "$(eye)"
},
{
"command": "perforce.changeSearch.resetFilters",
"title": "Reset all filters",
"category": "Perforce",
"icon": "$(trash)"
},
{
"command": "perforce.changeSearch.resetFilter",
"title": "Reset filter",
"category": "Perforce",
"icon": "$(close)"
},
{
"command": "perforce.changeSearch.addFileFilter",
"title": "Add file filter",
"category": "Perforce",
"icon": "$(plus)"
},
{
"command": "perforce.changeSearch.editFileFilter",
"title": "Edit file filter",
"category": "Perforce",
"icon": "$(edit)"
},
{
"command": "perforce.changeSearch.removeFileFilter",
"title": "Remove file filter",
"category": "Perforce",
"icon": "$(trash)"
},
{
"command": "perforce.changeSearch.refresh",
"title": "Refresh this search without changing filters",
"category": "Perforce",
"icon": "$(refresh)"
},
{
"command": "perforce.changeSearch.pin",
"title": "Pin results (keep until they are manually deleted)",
"category": "Perforce",
"icon": "$(pin)"
},
{
"command": "perforce.changeSearch.unpin",
"title": "Unpin results (discard on next search)",
"category": "Perforce",
"icon": "$(pinned)"
},
{
"command": "perforce.changeSearch.delete",
"title": "Discard results",
"category": "Perforce",
"icon": "$(trash)"
},
{
"command": "perforce.changeSearch.showInQuickPick",
"title": "Show in quick pick",
"category": "Perforce",
"icon": "$(multiple-windows)"
},
{
"command": "perforce.changeSearch.enableAutoRefresh",
"title": "Enable auto search",
"category": "Perforce",
"icon": "$(sync-ignored)"
},
{
"command": "perforce.changeSearch.disableAutoRefresh",
"title": "Disable auto search",
"category": "Perforce",
"icon": "$(sync)"
},
{
"command": "perforce.changeSearch.diffResult",
"title": "Show Diff",
"category": "Perforce",
"icon": "$(diff)"
},
{
"command": "perforce.changeSearch.openResultDoc",
"title": "Show Revision",
"category": "Perforce",
"icon": "$(file)"
},
{
"command": "perforce.showOpenFileHistory",
"title": "History - show open file history",
"category": "Perforce"
},
{
"command": "perforce.showLastQuickPick",
"title": "Open last quick pick menu",
"category": "Perforce",
"icon": "$(list-flat)"
},
{
"command": "perforce.showRecentQuickPick",
"title": "Open a recent quick pick...",
"category": "Perforce",
"icon": "$(list-flat)"
},
{
"command": "perforce.goToChangelist",
"title": "Go to changelist...",
"category": "Perforce"
},
{
"command": "perforce.goToJob",
"title": "Go to job...",
"category": "Perforce"
},
{
"command": "perforce.saveJobSpec",
"title": "Apply updates to job spec",
"category": "Perforce",
"icon": "$(cloud-upload)"
},
{
"command": "perforce.saveChangeSpec",
"title": "Apply updates to change spec",
"category": "Perforce",
"icon": "$(cloud-upload)"
},
{
"command": "perforce.refreshJobSpec",
"title": "Refresh job spec from perforce (overwrites local edits)",
"category": "Perforce",
"icon": "$(refresh)"
},
{
"command": "perforce.refreshChangeSpec",
"title": "Refresh change spec from perforce (overwrites local edits)",
"category": "Perforce",
"icon": "$(refresh)"
},
{
"command": "perforce.newChangeSpec",
"title": "Create changelist in editor...",
"category": "Perforce"
},
{
"command": "perforce.newJobSpec",
"title": "Create job in editor...",
"category": "Perforce"
},
{
"command": "perforce.clearMementos",
"title": "Clear persisted memento data",
"category": "Perforce"
}
],
"submenus": [
{
"id": "perforce.explorer",
"label": "Perforce"
}
],
"menus": {
"commandPalette": [
{
"command": "perforce.submitChangelist",
"when": "0"
},
{
"command": "perforce.submitSelectedFiles",
"when": "0"
},
{
"command": "perforce.revertChangelist",
"when": "0"
},
{
"command": "perforce.editChangelist",
"when": "0"
},
{
"command": "perforce.editChangeSpec",