-
Notifications
You must be signed in to change notification settings - Fork 579
/
package.json
1195 lines (1195 loc) · 38 KB
/
package.json
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": "vscode-pull-request-github",
"displayName": "GitHub Pull Requests",
"description": "Pull Request Provider for GitHub",
"icon": "resources/icons/github_logo.png",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-pull-request-github"
},
"bugs": {
"url": "https://github.com/Microsoft/vscode-pull-request-github/issues"
},
"enableProposedApi": true,
"preview": true,
"version": "0.15.0",
"publisher": "GitHub",
"engines": {
"vscode": "^1.44.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"extensionDependencies": [
"vscode.git",
"vscode.github-authentication"
],
"main": "./media/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "GitHub Pull Requests",
"properties": {
"githubPullRequests.telemetry.enabled": {
"type": "boolean",
"default": true,
"description": "Enable usage data and errors to be sent to a GitHub online service"
},
"githubPullRequests.hosts": {
"type": "array",
"default": [],
"markdownDescription": "List of host credentials. For example, \"githubPullRequests.hosts\": [ { \"host\": \"https://github.com\", \"token\": \"GITHUB TOKEN\" } ]",
"items": {
"type": "object",
"properties": {
"host": {
"type": "string",
"description": "The host name of the GitHub server (for eg., 'https://github.com')"
},
"username": {
"type": "string",
"description": "The username to access GitHub (optional)"
},
"token": {
"type": "string",
"description": "GitHub access token with the following scopes: read:user, user:email, repo, write:discussion"
}
}
}
},
"githubPullRequests.pullRequestTitle": {
"type": "string",
"enum": [
"commit",
"branch",
"custom",
"ask"
],
"enumDescriptions": [
"Use the latest commit message",
"Use the branch name",
"Specify a custom title",
"Ask which of the above methods to use"
],
"default": "ask",
"description": "The title used when creating pull requests."
},
"githubPullRequests.logLevel": {
"type": "string",
"enum": [
"info",
"debug",
"off"
],
"default": "info",
"description": "Logging for GitHub Pull Request extension. The log is emitted to the output channel named as GitHub Pull Request."
},
"githubPullRequests.remotes": {
"type": "array",
"default": [
"origin",
"upstream"
],
"items": {
"type": "string"
},
"markdownDescription": "List of remotes, by name, to fetch pull requests from."
},
"githubPullRequests.includeRemotes": {
"type": "string",
"enum": [
"default",
"all"
],
"default": "default",
"deprecationMessage": "The setting `githubPullRequests.includeRemotes` has been deprecated. Use `githubPullRequests.remotes` to configure what remotes are shown.",
"description": "By default we only support remotes created by users. If you want to see pull requests from remotes this extension created for pull requests, change this setting to 'all'."
},
"githubPullRequests.queries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "The label to display for the query in the Pull Requests tree"
},
"query": {
"type": "string",
"description": "The query used for searching pull requests."
}
}
},
"scope": "resource",
"markdownDescription": "Specifies what queries should be used in the GitHub Pull Requests tree. Each query object has a `label` that will be shown in the tree and a search `query` using [GitHub search syntax](https://help.github.com/en/articles/understanding-the-search-syntax). The variable `${user}` can be used to specify the logged in user within a search. By default these queries define the categories \"Waiting For My Review\", \"Assigned To Me\" and \"Created By Me\". If you want to preserve these, make sure they are still in the array when you modify the setting.",
"default": [
{
"label": "Waiting For My Review",
"query": "is:open review-requested:${user}"
},
{
"label": "Assigned To Me",
"query": "is:open assignee:${user}"
},
{
"label": "Created By Me",
"query": "is:open author:${user}"
}
]
},
"githubPullRequests.defaultMergeMethod": {
"type": "string",
"enum": [
"merge",
"squash",
"rebase"
],
"default": "merge",
"description": "The method to use when merging pull requests."
},
"githubPullRequests.showInSCM": {
"type": "boolean",
"default": false,
"description": "When true, show GitHub Pull Requests within the SCM viewlet. Otherwise show a separate view container for them."
},
"githubPullRequests.fileListLayout": {
"type": "string",
"enum": [
"flat",
"tree"
],
"default": "tree",
"description": "The layout to use when displaying changed files list."
},
"githubPullRequests.defaultDeletionMethod.selectLocalBranch": {
"type": "boolean",
"default": true,
"description": "When true, the option to delete the local branch will be selected by default when deleting a branch from a pull request."
},
"githubPullRequests.defaultDeletionMethod.selectRemote": {
"type": "boolean",
"default": true,
"description": "When true, the option to delete the remote will be selected by default when deleting a branch from a pull request."
},
"telemetry.optout": {
"type": "boolean",
"default": false,
"deprecationMessage": "The setting `telemetry.optout` has been deprecated in favor of `githubPullRequests.telemetry.enabled`.",
"description": "Disable usage data and errors to be sent to a GitHub online service"
},
"github.hosts": {
"type": "array",
"default": [],
"deprecationMessage": "The setting `github.hosts` has been deprecated in favor of `githubPullRequests.hosts`.",
"description": "List of host credentials. For example, \"github.hosts\": [ { \"host\": \"https://github.com\", \"token\": \"GITHUB TOKEN\" } ]",
"items": {
"type": "object",
"properties": {
"host": {
"type": "string",
"description": "The host name of the GitHub server (for eg., 'https://github.com')"
},
"username": {
"type": "string",
"description": "The username to access GitHub (optional)"
},
"token": {
"type": "string",
"description": "GitHub access token with the following scopes: read:user, user:email, repo, write:discussion"
}
}
}
},
"githubIssues.ignoreMilestones": {
"type": "array",
"default": [],
"description": "An array of milestones titles to never show issues from."
},
"githubIssues.createIssueTriggers": {
"type": "array",
"items": {
"type": "string",
"description": "String that enables the 'Create issue from comment' code action. Should not container whitespace."
},
"default": [
"TODO",
"todo",
"BUG",
"FIXME",
"ISSUE",
"HACK"
],
"description": "Strings that will cause the 'Create issue from comment' code action to show."
},
"githubIssues.createInsertFormat": {
"type": "string",
"enum": [
"number",
"url"
],
"default": "number",
"description": "Controls whether an issue number (ex. #1234) or a full url (ex. https://github.com/owner/name/issues/1234) is inserted when the Create Issue code action is run."
},
"githubIssues.issueCompletions.enabled": {
"type": "boolean",
"default": true,
"description": "Controls whether completion suggestions are shown for issues."
},
"githubIssues.userCompletions.enabled": {
"type": "boolean",
"default": true,
"description": "Controls whether completion suggestions are shown for users."
},
"githubIssues.ignoreCompletionTrigger": {
"type": "array",
"items": {
"type": "string",
"description": "Language that issue completions should not trigger on '#'."
},
"default": [
"python"
],
"description": "Languages that the '#' character should not be used to trigger issue completion suggestions."
},
"githubIssues.ignoreUserCompletionTrigger": {
"type": "array",
"items": {
"type": "string",
"description": "Language that user completions should not trigger on '@'."
},
"default": [
"python"
],
"description": "Languages that the '@' character should not be used to trigger user completion suggestions."
},
"githubIssues.workingIssueBranch": {
"type": "string",
"default": "${user}/issue${issueNumber}",
"description": "Advanced settings for the name of the branch that is created when you start working on an issue. ${user} will be replace with the currently logged in username and ${issueNumber} will be replaced with the current issue number."
},
"githubIssues.useBranchForIssues": {
"type": "string",
"enum": [
"on",
"off",
"prompt"
],
"enumDescriptions": [
"A branch will always be checked out when you start working on an issue. If the branch doesn't exist, it will be created.",
"A branch will not be created when you start working on an issue. If you have worked on an issue before and a branch was created for it, that same branch will be checked out.",
"A prompt will show for setting the name of the branch that will be created and checked out."
],
"default": "on",
"description": "Determines whether a branch should be checked out when working on an issue. To configure the name of the branch, set `githubIssues.workingIssueBranch`."
},
"githubIssues.issueCompletionFormatScm": {
"type": "string",
"default": "#${issueNumber} - ${issueTitle}",
"description": "Sets the format of issue completions in the SCM inputbox. For example, '${issueNumberLabel}'"
},
"githubIssues.workingIssueFormatScm": {
"type": "string",
"default": "${issueTitle} \nFixes ${issueNumberLabel}",
"description": "Sets the format of the commit message that is set in the SCM inputbox when you **Start Working on an Issue**. Defaults to '${issueTitle} \nFixes #${issueNumber}'"
},
"githubIssues.queries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "The label to display for the query in the Issues tree."
},
"query": {
"type": "string",
"description": "The query used for searching issues."
}
}
},
"scope": "resource",
"markdownDescription": "Specifies what queries should be used in the GitHub issues tree. Each query object has a `label` that will be shown in the tree and a search `query` using [GitHub search syntax](https://help.github.com/en/articles/understanding-the-search-syntax). The variable `${user}` can be used to specify the logged in user within a search. `${owner}` and `${repository}` can be used to specify the repository by using `repo:${owner}/${repository}`. The \"default\" query includes issues assigned to you by Milestone. If you want to preserve these, make sure they are still in the array when you modify the setting. The first query listed will be expanded in the Issues view.",
"default": [
{
"label": "My Issues",
"query": "default"
},
{
"label": "Created Issues",
"query": "author:${user} state:open repo:${owner}/${repository} sort:updated-desc"
}
]
},
"githubIssues.alwaysCreateDraftPR": {
"type": "boolean",
"default": false,
"description": "When true, and when you are working on an issue in a branch, immediately creates a draft PR when you start working on an issue."
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "github-pull-requests",
"title": "GitHub",
"icon": "resources/icons/pull-request.svg"
}
]
},
"views": {
"github-pull-requests": [
{
"id": "pr:github",
"name": "Pull Requests",
"when": "!config.githubPullRequests.showInSCM && config.git.enabled",
"icon": "resources/icons/pull-request.svg"
},
{
"id": "prStatus:github",
"name": "Changes In Pull Request",
"when": "!config.githubPullRequests.showInSCM && config.git.enabled && github:inReviewMode",
"icon": "resources/icons/pull-request.svg"
},
{
"id": "issues:github",
"name": "Issues",
"when": "config.git.enabled",
"icon": "resources/icons/light/issues.svg"
}
],
"scm": [
{
"id": "pr:scm",
"name": "GitHub Pull Requests",
"when": "config.githubPullRequests.showInSCM && config.git.enabled"
},
{
"id": "prStatus:scm",
"name": "Changes In Pull Request",
"when": "config.githubPullRequests.showInSCM && config.git.enabled && github:inReviewMode"
}
]
},
"commands": [
{
"command": "pr.create",
"title": "Create Pull Request",
"icon": {
"light": "resources/icons/light/stage.svg",
"dark": "resources/icons/dark/stage.svg"
},
"category": "GitHub Pull Requests"
},
{
"command": "pr.createDraft",
"title": "Create Draft Pull Request",
"icon": {
"light": "resources/icons/light/stage.svg",
"dark": "resources/icons/dark/stage.svg"
},
"category": "GitHub Pull Requests"
},
{
"command": "pr.pick",
"title": "Checkout Pull Request",
"category": "GitHub Pull Requests"
},
{
"command": "pr.merge",
"title": "Merge Pull Request",
"category": "GitHub Pull Requests"
},
{
"command": "pr.readyForReview",
"title": "Mark Pull Request Ready For Review",
"category": "GitHub Pull Requests"
},
{
"command": "pr.close",
"title": "Close Pull Request",
"category": "GitHub Pull Requests"
},
{
"command": "pr.openPullRequestInGitHub",
"title": "Open Pull Request in GitHub",
"category": "GitHub Pull Requests"
},
{
"command": "pr.refreshPullRequest",
"title": "Refresh Pull Request",
"category": "GitHub Pull Requests"
},
{
"command": "pr.openFileInGitHub",
"title": "Open File in GitHub",
"category": "GitHub Pull Requests"
},
{
"command": "pr.copyCommitHash",
"title": "Copy Commit Hash",
"category": "GitHub Pull Requests"
},
{
"command": "pr.openOriginalFile",
"title": "Open Original File",
"category": "GitHub Pull Requests"
},
{
"command": "pr.openModifiedFile",
"title": "Open Modified File",
"category": "GitHub Pull Requests"
},
{
"command": "pr.openDiffView",
"title": "Open Diff View",
"category": "GitHub Pull Requests",
"icon": {
"light": "resources/icons/light/open-change.svg",
"dark": "resources/icons/dark/open-change.svg"
}
},
{
"command": "pr.openChangedFile",
"title": "Open Changed File in PR",
"category": "GitHub Pull Requests"
},
{
"command": "pr.openDescription",
"title": "View Pull Request Description",
"category": "GitHub Pull Requests",
"when": "github:inReviewMode"
},
{
"command": "pr.openDescriptionToTheSide",
"title": "Open Pull Request Description to the Side",
"icon": {
"light": "resources/icons/light/split-editor-horizontal.svg",
"dark": "resources/icons/dark/split-editor-horizontal-inverse.svg"
}
},
{
"command": "pr.refreshDescription",
"title": "Refresh Pull Request Description",
"category": "GitHub Pull Requests"
},
{
"command": "review.openFile",
"title": "Open File",
"icon": {
"light": "resources/icons/light/open-file.svg",
"dark": "resources/icons/dark/open-file.svg"
}
},
{
"command": "review.suggestDiff",
"title": "Suggest Edit"
},
{
"command": "pr.refreshList",
"title": "Refresh Pull Requests List",
"icon": {
"dark": "resources/icons/dark/refresh.svg",
"light": "resources/icons/light/refresh.svg"
},
"category": "GitHub Pull Requests"
},
{
"command": "pr.refreshChanges",
"title": "Refresh",
"icon": {
"dark": "resources/icons/dark/refresh.svg",
"light": "resources/icons/light/refresh.svg"
},
"category": "GitHub Pull Requests"
},
{
"command": "pr.configurePRViewlet",
"title": "Configure...",
"category": "GitHub Pull Requests",
"icon": {
"light": "resources/icons/light/gear.svg",
"dark": "resources/icons/dark/gear.svg"
}
},
{
"command": "pr.deleteLocalBranch",
"title": "Delete Local Branch",
"category": "GitHub Pull Requests"
},
{
"command": "pr.signin",
"title": "Sign in to GitHub",
"category": "GitHub Pull Requests"
},
{
"command": "pr.deleteLocalBranchesNRemotes",
"title": "Delete local branches and remotes",
"category": "GitHub Pull Requests"
},
{
"command": "pr.createComment",
"title": "Add Comment",
"category": "GitHub Pull Requests",
"enablement": "!commentIsEmpty"
},
{
"command": "pr.startReview",
"title": "Start Review",
"category": "GitHub Pull Requests",
"enablement": "!commentIsEmpty"
},
{
"command": "pr.deleteReview",
"title": "Delete Review",
"category": "GitHub Pull Requests"
},
{
"command": "pr.editComment",
"title": "Edit Comment",
"category": "GitHub Pull Requests",
"icon": {
"light": "resources/icons/light/edit.svg",
"dark": "resources/icons/dark/edit.svg"
}
},
{
"command": "pr.cancelEditComment",
"title": "Cancel",
"category": "GitHub Pull Requests"
},
{
"command": "pr.saveComment",
"title": "Save",
"category": "GitHub Pull Requests",
"enablement": "!commentIsEmpty"
},
{
"command": "pr.deleteComment",
"title": "Delete Comment",
"category": "GitHub Pull Requests",
"icon": {
"light": "resources/icons/light/delete.svg",
"dark": "resources/icons/dark/delete.svg"
}
},
{
"command": "pr.finishReview",
"title": "Finish Review",
"category": "GitHub Pull Requests",
"enablement": "!commentIsEmpty"
},
{
"command": "pr.signinAndRefreshList",
"title": "Sign in and Refresh",
"category": "GitHub Pull Requests"
},
{
"command": "pr.configureRemotes",
"title": "Configure Remotes...",
"category": "GitHub Pull Requests"
},
{
"command": "issue.createIssueFromSelection",
"title": "Create Issue From Selection",
"category": "GitHub Issues"
},
{
"command": "issue.createIssueFromClipboard",
"title": "Create Issue From Clipboard",
"category": "GitHub Issues"
},
{
"command": "issue.copyGithubPermalink",
"title": "Copy GitHub Permalink",
"category": "GitHub Issues"
},
{
"command": "issue.openGithubPermalink",
"title": "Open Permalink in Github",
"category": "GitHub Issues"
},
{
"command": "issue.openIssue",
"title": "Open Issue",
"category": "GitHub Issues",
"icon": {
"light": "resources/icons/light/open-browser.svg",
"dark": "resources/icons/dark/open-browser.svg"
}
},
{
"command": "issue.copyIssueNumber",
"title": "Copy Number",
"category": "GitHub Issues"
},
{
"command": "issue.copyIssueUrl",
"title": "Copy Url",
"category": "GitHub Issues"
},
{
"command": "issue.refresh",
"title": "Refresh",
"category": "GitHub Issues",
"icon": {
"dark": "resources/icons/dark/refresh.svg",
"light": "resources/icons/light/refresh.svg"
}
},
{
"command": "issue.startWorking",
"title": "Start Working on Issue",
"category": "GitHub Issues"
},
{
"command": "issue.continueWorking",
"title": "Continue Working on Issue",
"category": "GitHub Issues"
},
{
"command": "issue.startWorkingBranchPrompt",
"title": "Start Working and Set Branch...",
"category": "GitHub Issues"
},
{
"command": "issue.stopWorking",
"title": "Stop Working on Issue",
"category": "GitHub Issues"
},
{
"command": "issue.statusBar",
"title": "Current Issue Options",
"category": "GitHub Issues"
},
{
"command": "issue.getCurrent",
"title": "Get current issue",
"category": "GitHub Issues"
},
{
"command": "issue.editQuery",
"title": "Edit Query",
"category": "GitHub Issues",
"icon": "$(tools)"
},
{
"command": "issue.createIssue",
"title": "Create an Issue",
"category": "GitHub Issues",
"icon": "$(plus)"
},
{
"command": "issue.createIssueFromFile",
"title": "Create Issue",
"icon": "$(check)"
}
],
"keybindings": [
{
"key": "ctrl+shift+space",
"command": "issue.refresh",
"when": "suggestWidgetVisible"
},
{
"key": "ctrl+s",
"command": "issue.createIssueFromFile",
"when": "resourceScheme == newIssue && config.files.autoSave != off"
}
],
"menus": {
"commandPalette": [
{
"command": "pr.configureRemotes",
"when": "gitOpenRepositoryCount != 0"
},
{
"command": "pr.configurePRViewlet",
"when": "gitOpenRepositoryCount != 0"
},
{
"command": "pr.pick",
"when": "false"
},
{
"command": "review.openFile",
"when": "false"
},
{
"command": "pr.openChangedFile",
"when": "false"
},
{
"command": "pr.close",
"when": "gitOpenRepositoryCount != 0 && github:inReviewMode"
},
{
"command": "pr.create",
"when": "gitOpenRepositoryCount != 0 && github:authenticated && !github:inReviewMode"
},
{
"command": "pr.createDraft",
"when": "gitOpenRepositoryCount != 0 && github:authenticated && !github:inReviewMode"
},
{
"command": "pr.merge",
"when": "gitOpenRepositoryCount != 0 && github:inReviewMode"
},
{
"command": "pr.readyForReview",
"when": "gitOpenRepositoryCount != 0 && github:inReviewMode"
},
{
"command": "pr.openPullRequestInGitHub",
"when": "gitOpenRepositoryCount != 0 && github:inReviewMode"
},
{
"command": "pr.refreshDescription",
"when": "gitOpenRepositoryCount != 0 && github:inReviewMode"
},
{
"command": "pr.openFileInGitHub",
"when": "false"
},
{
"command": "pr.openOriginalFile",
"when": "false"
},
{
"command": "pr.openModifiedFile",
"when": "false"
},
{
"command": "pr.refreshPullRequest",
"when": "false"
},
{
"command": "pr.deleteLocalBranch",
"when": "false"
},
{
"command": "pr.openDiffView",
"when": "false"
},
{
"command": "pr.openDescriptionToTheSide",
"when": "false"
},
{
"command": "pr.openDescription",
"when": "gitOpenRepositoryCount != 0 && github:inReviewMode"
},
{
"command": "pr.refreshList",
"when": "gitOpenRepositoryCount != 0 && github:authenticated && github:hasGitHubRemotes"
},
{
"command": "pr.refreshChanges",
"when": "false"
},
{
"command": "pr.signin",
"when": "gitOpenRepositoryCount != 0 && github:hasGitHubRemotes"
},
{
"command": "pr.signinAndRefreshList",
"when": "false"
},
{
"command": "pr.copyCommitHash",
"when": "false"
},
{
"command": "pr.createComment",
"when": "false"
},
{
"command": "pr.startReview",
"when": "false"
},
{
"command": "pr.deleteReview",
"when": "false"
},
{
"command": "pr.editComment",
"when": "false"
},
{
"command": "pr.cancelEditComment",
"when": "false"
},
{
"command": "pr.saveComment",
"when": "false"
},
{
"command": "pr.deleteComment",
"when": "false"
},
{
"command": "pr.finishReview",
"when": "false"
},
{
"command": "issue.openIssue",
"when": "false"
},
{
"command": "issue.copyIssueNumber",
"when": "false"
},
{
"command": "issue.copyIssueUrl",
"when": "false"
},
{
"command": "issue.refresh",
"when": "false"
},
{
"command": "issue.startWorking",
"when": "false"
},
{
"command": "issue.continueWorking",
"when": "false"
},
{
"command": "issue.startWorkingBranchPrompt",
"when": "false"
},
{
"command": "issue.stopWorking",
"when": "false"
},
{
"command": "issue.statusBar",
"when": "false"
},
{
"command": "issue.getCurrent",
"when": "false"
},
{
"command": "issue.editQuery",
"when": "false"
},
{
"command": "issue.createIssue",
"when": "false"
},
{
"command": "issue.createIssueFromFile",
"when": "false"
},
{
"command": "issue.copyGithubPermalink",
"when": "github:authenticated"
},
{
"command": "issue.openGithubPermalink",
"when": "github:authenticated"
}
],
"view/title": [
{
"command": "pr.create",
"when": "gitOpenRepositoryCount != 0 && github:initialized && view =~ /pr:/",
"group": "navigation"
},
{
"command": "pr.configurePRViewlet",
"when": "gitOpenRepositoryCount != 0 && github:initialized && view =~ /pr:/",
"group": "navigation"
},
{
"command": "pr.refreshList",
"when": "gitOpenRepositoryCount != 0 && github:initialized && view =~ /pr:/",
"group": "navigation"
},
{
"command": "pr.refreshChanges",
"when": "view =~ /prStatus/",
"group": "navigation"
},
{
"command": "issue.refresh",
"when": "view =~ /issues:github/",
"group": "navigation"
},
{
"command": "issue.createIssue",
"when": "view =~ /issues:github/ && github:hasGitHubRemotes",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "pr.pick",
"when": "view =~ /pr:/ && viewItem =~ /pullrequest(:local)?:nonactive|description/",
"group": "pullrequest@1"
},
{
"command": "pr.refreshPullRequest",
"when": "view =~ /pr:/ && viewItem =~ /pullrequest|description/",
"group": "pullrequest@2"
},
{
"command": "pr.openPullRequestInGitHub",
"when": "view =~ /pr:/ && viewItem =~ /pullrequest|description/",
"group": "pullrequest@3"
},
{
"command": "pr.deleteLocalBranch",
"when": "view =~ /pr:/ && viewItem =~ /pullrequest:local:nonactive/",
"group": "pullrequest@4"
},
{
"command": "pr.openFileInGitHub",
"when": "view =~ /(pr|prStatus)/ && viewItem =~ /filechange/"
},
{
"command": "pr.copyCommitHash",
"when": "view =~ /prStatus/ && viewItem =~ /commit/"
},
{
"command": "pr.openDescriptionToTheSide",
"group": "inline",
"when": "view =~ /(pr|prStatus)/ && viewItem =~ /description/"
},
{
"command": "review.openFile",
"group": "inline",
"when": "config.git.openDiffOnClick && view =~ /prStatus/ && viewItem =~ /filechange(?!:DELETE)/"
},
{
"command": "pr.openDiffView",
"group": "inline",
"when": "!config.git.openDiffOnClick && view =~ /prStatus/ && viewItem =~ /filechange(?!:DELETE)/"
},
{
"command": "pr.openOriginalFile",
"when": "view =~ /(pr|prStatus)/ && viewItem =~ /filechange:MODIFY/"
},
{
"command": "pr.openModifiedFile",
"when": "view =~ /(pr|prStatus)/ && viewItem =~ /filechange:MODIFY/"
},
{
"command": "issue.openIssue",
"when": "view =~ /issues:github/ && viewItem =~ /(current|continue)?issue/",
"group": "inline"
},
{
"command": "issue.openIssue",
"when": "view =~ /issues:github/ && viewItem =~ /(current|continue)?issue/",
"group": "issues_0@0"
},
{
"command": "issue.startWorking",
"alt": "issue.startWorkingBranchPrompt",
"when": "view =~ /issues:github/ && viewItem == issue",
"group": "issues_0@1"
},
{
"command": "issue.continueWorking",
"when": "view =~ /issues:github/ && viewItem == continueissue",
"group": "issues_0@1"