-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
17679 lines (17679 loc) · 841 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": "gitlens",
"displayName": "GitLens — Git supercharged",
"description": "在 VS Code 中增强 Git — 通过 Git 责任注释和 CodeLens 可视化代码作者身份,无缝导航和探索 Git 存储库,通过丰富的可视化和强大的比较命令获得有价值的见解,等等",
"version": "15.2.3",
"engines": {
"vscode": "^1.82.0"
},
"license": "SEE LICENSE IN LICENSE",
"publisher": "eamodio",
"author": {
"name": "Eric Amodio",
"email": "[email protected]"
},
"homepage": "https://gitkraken.com/gitlens",
"bugs": {
"url": "https://github.com/gitkraken/vscode-gitlens/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/gitkraken/vscode-gitlens.git"
},
"main": "./dist/gitlens.js",
"browser": "./dist/browser/gitlens.js",
"icon": "images/gitlens-icon.png",
"preview": false,
"badges": [
{
"url": "https://img.shields.io/badge/gitkraken--community-gitlens-blue.svg?logo=slack&labelColor=555555",
"href": "https://slack.gitkraken.com/",
"description": "加入我们的#gitlens 频道"
}
],
"categories": [
"Other",
"SCM Providers"
],
"galleryBanner": {
"color": "#8647ae",
"theme": "dark"
},
"keywords": [
"gitlens",
"git",
"blame",
"log",
"annotation",
"multi-root ready"
],
"activationEvents": [
"onAuthenticationRequest:gitlens-gitkraken",
"onFileSystem:gitlens",
"onWebviewPanel:gitlens.focus",
"onWebviewPanel:gitlens.graph",
"onWebviewPanel:gitlens.patchDetails",
"onWebviewPanel:gitlens.settings",
"onWebviewPanel:gitlens.timeline",
"onWebviewPanel:gitlens.welcome",
"onStartupFinished"
],
"capabilities": {
"virtualWorkspaces": true,
"untrustedWorkspaces": {
"supported": "limited"
}
},
"contributes": {
"configuration": [
{
"id": "current-line-blame",
"title": "内联责备",
"order": 10,
"properties": {
"gitlens.currentLine.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定默认情况下是否为当前行提供内联责备注释。使用“Toggle Line Blame Annotations”命令(“gitlens.toggleLineBlame”)打开和关闭当前窗口的注释",
"scope": "window",
"order": 10
},
"gitlens.currentLine.pullRequests.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否提供有关在内联责备注释中引入提交的拉取请求(如果有)的信息。需要连接到受支持的远程服务(例如 GitHub)",
"scope": "window",
"order": 20
},
"gitlens.currentLine.format": {
"type": "string",
"default": "${author, }${agoOrDate}${' via 'pullRequest}${ • message|50?}",
"markdownDescription": "指定内联责备注释的格式。请参阅 GitLens 文档中的 [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens)。日期格式由“#gitlens.currentLine.dateFormat#”设置控制",
"scope": "window",
"order": 30
},
"gitlens.currentLine.uncommittedChangesFormat": {
"type": "string",
"default": null,
"markdownDescription": "指定内联责备注释的未提交更改格式。请参阅 GitLens 文档中的 [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens)。日期格式由“#gitlens.currentLine.dateFormat#”设置控制。\n\n**注意**:将其设置为空字符串将禁用未提交更改的内联责备注释。",
"scope": "window",
"order": 31
},
"gitlens.currentLine.fontFamily": {
"type": "string",
"default": "",
"markdownDescription": "指定内联责备注释的字体系列",
"scope": "window",
"order": 33
},
"gitlens.currentLine.fontSize": {
"type": "number",
"default": 0,
"markdownDescription": "指定内联责备注释的字体大小",
"scope": "window",
"order": 34
},
"gitlens.currentLine.fontStyle": {
"type": "string",
"default": "normal",
"markdownDescription": "指定内联责备注释的字体样式",
"scope": "window",
"order": 35
},
"gitlens.currentLine.fontWeight": {
"type": "string",
"default": "normal",
"markdownDescription": "指定内联责备注释的字体粗细",
"scope": "window",
"order": 36
},
"gitlens.currentLine.scrollable": {
"type": "boolean",
"default": true,
"markdownDescription": "指定内联责备注释在视口之外时是否可以滚动到视图中。 **注意**:将其设置为“false”将禁止悬停在注释上显示;将 `#gitlens.hovers.currentLine.over#` 设置为 `line` 以使悬停显示在线上的任何位置。",
"scope": "window",
"order": 40
},
"gitlens.currentLine.dateFormat": {
"type": [
"string",
"null"
],
"default": null,
"markdownDescription": "指定如何格式化内联责备注释的绝对日期(例如使用“${date}”标记)。请参阅 [Moment.js 文档](https://momentjs.com/docs/#/displaying/format/) 了解支持的格式",
"scope": "window",
"order": 50
}
}
},
{
"id": "git-code-lens",
"title": "Git 代码镜头",
"order": 11,
"properties": {
"gitlens.codeLens.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定默认情况下是否提供任何 Git CodeLens。使用“Toggle Git CodeLens”命令(“gitlens.toggleCodeLens”)打开和关闭当前窗口的 Git CodeLens",
"scope": "window",
"order": 10
},
"gitlens.codeLens.authors.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否提供 _authors_ CodeLens,显示文件或代码块的作者数量以及最著名的作者(如果有多个作者)",
"scope": "window",
"order": 20
},
"gitlens.codeLens.authors.command": {
"type": [
"boolean",
"string"
],
"enum": [
false,
"gitlens.toggleFileBlame",
"gitlens.toggleFileHeatmap",
"gitlens.toggleFileChanges",
"gitlens.toggleFileChangesOnly",
"gitlens.diffWithPrevious",
"gitlens.revealCommitInView",
"gitlens.showCommitsInView",
"gitlens.showQuickCommitDetails",
"gitlens.showQuickCommitFileDetails",
"gitlens.showQuickFileHistory",
"gitlens.showQuickRepoHistory",
"gitlens.openCommitOnRemote",
"gitlens.copyRemoteCommitUrl",
"gitlens.openFileOnRemote",
"gitlens.copyRemoteFileUrl"
],
"enumDescriptions": [
"禁用点击交互",
"切换文件责任",
"切换文件热图",
"切换自提交之前以来的文件更改",
"切换提交中的文件更改",
"将当前提交的文件与先前提交的文件进行比较",
"在侧栏中显示提交",
"搜索范围内的提交",
"显示检查快速选择菜单",
"显示提交文件详细信息快速选择菜单",
"显示文件历史记录快速选择菜单",
"显示分支历史快速选择菜单",
"打开远程服务上的提交(如果可用)",
"将远程提交 URL 复制到剪贴板(如果可用)",
"打开远程服务上的文件修订版(如果可用)",
"将远程文件 URL 复制到剪贴板(如果可用)"
],
"default": "gitlens.toggleFileBlame",
"markdownDescription": "指定单击 _authors_ CodeLens 时要执行的命令",
"scope": "window",
"order": 21
},
"gitlens.codeLens.recentChange.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否提供_最近更改_CodeLens,显示文件或代码块最近提交的作者和日期",
"scope": "window",
"order": 30
},
"gitlens.codeLens.recentChange.command": {
"type": [
"boolean",
"string"
],
"enum": [
false,
"gitlens.toggleFileBlame",
"gitlens.toggleFileHeatmap",
"gitlens.toggleFileChanges",
"gitlens.toggleFileChangesOnly",
"gitlens.diffWithPrevious",
"gitlens.revealCommitInView",
"gitlens.showCommitsInView",
"gitlens.showQuickCommitDetails",
"gitlens.showQuickCommitFileDetails",
"gitlens.showQuickFileHistory",
"gitlens.showQuickRepoHistory",
"gitlens.openCommitOnRemote",
"gitlens.copyRemoteCommitUrl",
"gitlens.openFileOnRemote",
"gitlens.copyRemoteFileUrl"
],
"enumDescriptions": [
"禁用点击交互",
"切换文件责任",
"切换文件热图",
"切换自提交之前以来的文件更改",
"切换提交中的文件更改",
"将当前提交的文件与先前提交的文件进行比较",
"在侧栏中显示提交",
"显示检查",
"显示检查快速选择菜单",
"显示提交文件详细信息快速选择菜单",
"显示文件历史记录快速选择菜单",
"显示分支历史快速选择菜单",
"打开远程服务上的提交(如果可用)",
"将远程提交 URL 复制到剪贴板(如果可用)",
"打开远程服务上的文件修订版(如果可用)",
"将远程文件 URL 复制到剪贴板(如果可用)"
],
"default": "gitlens.showQuickCommitFileDetails",
"markdownDescription": "指定单击“最近更改”CodeLens 时要执行的命令",
"scope": "window",
"order": 31
},
"gitlens.codeLens.scopes": {
"type": "array",
"default": [
"document",
"containers"
],
"items": {
"type": "string",
"enum": [
"document",
"containers",
"blocks"
],
"enumDescriptions": [
"在文档顶部添加 CodeLens",
"在类似容器的符号(模块、类、接口等)的开头添加 CodeLens",
"在块状符号(函数、方法等)行的开头添加 CodeLens"
]
},
"minItems": 0,
"maxItems": 3,
"uniqueItems": true,
"markdownDescription": "指定 Git CodeLens 将在文档中显示的位置",
"scope": "language-overridable",
"order": 40
},
"gitlens.codeLens.symbolScopes": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"markdownDescription": "指定一组文档符号,Git CodeLens 将或不会在文档中显示这些符号。添加前缀“!”以避免为符号提供 Git CodeLens。必须是“SymbolKind”的成员",
"scope": "language-overridable",
"order": 50
},
"gitlens.codeLens.includeSingleLineSymbols": {
"type": "boolean",
"default": false,
"markdownDescription": "指定是否在仅跨越单行的符号上提供任何 Git CodeLens",
"scope": "window",
"order": 60
},
"gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
"type": "string",
"default": "$(ellipsis)",
"markdownDescription": "指定当存在未保存的更改时要显示的字符串,以代替_最近更改_和_作者_CodeLens",
"scope": "window",
"order": 70
},
"gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
"type": "string",
"default": "$(ellipsis)",
"markdownDescription": "指定当存在未保存的更改时要显示的字符串来代替_最近更改_CodeLens",
"scope": "window",
"order": 71
},
"gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
"type": "string",
"default": "$(ellipsis)",
"markdownDescription": "指定当有未保存的更改时要显示的字符串来代替 _authors_ CodeLens",
"scope": "window",
"order": 72
},
"gitlens.codeLens.dateFormat": {
"type": [
"string",
"null"
],
"default": null,
"markdownDescription": "指定如何在 Git CodeLens 中格式化绝对日期。请参阅 [Moment.js 文档](https://momentjs.com/docs/#/displaying/format/) 了解支持的格式",
"scope": "window",
"order": 73
},
"gitlens.codeLens.scopesByLanguage": {
"deprecationMessage": "已弃用。使用每种语言的 `gitlens.codeLens.scopes` 和 `gitlens.codeLens.symbolScopes` 设置",
"markdownDeprecationMessage": "已弃用。使用每种语言的 `#gitlens.codeLens.scopes#` 和 `#gitlens.codeLens.symbolScopes#` 设置"
}
}
},
{
"id": "status-bar-blame",
"title": "状态栏责备",
"order": 12,
"properties": {
"gitlens.statusBar.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在状态栏中提供指责信息",
"scope": "window",
"order": 10
},
"gitlens.statusBar.pullRequests.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在状态栏中提供有关引入提交的拉取请求(如果有)的信息。需要连接到受支持的远程服务(例如 GitHub)",
"scope": "window",
"order": 20
},
"gitlens.statusBar.format": {
"type": "string",
"default": "${author}, ${agoOrDate}${' via 'pullRequest}",
"markdownDescription": "指定状态栏中的责怪信息的格式。请参阅 GitLens 文档中的 [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens)。日期格式由 `#gitlens.statusBar.dateFormat#` 设置控制",
"scope": "window",
"order": 30
},
"gitlens.statusBar.alignment": {
"type": "string",
"default": "right",
"enum": [
"left",
"right"
],
"enumDescriptions": [
"向左对齐",
"向右对齐"
],
"markdownDescription": "指定状态栏中的责怪对齐方式",
"scope": "window",
"order": 40
},
"gitlens.statusBar.command": {
"type": "string",
"default": "gitlens.showQuickCommitDetails",
"enum": [
"gitlens.toggleFileBlame",
"gitlens.toggleFileHeatmap",
"gitlens.toggleFileChanges",
"gitlens.toggleFileChangesOnly",
"gitlens.toggleCodeLens",
"gitlens.diffWithPrevious",
"gitlens.diffWithWorking",
"gitlens.revealCommitInView",
"gitlens.showCommitsInView",
"gitlens.showQuickCommitDetails",
"gitlens.showQuickCommitFileDetails",
"gitlens.showQuickFileHistory",
"gitlens.showQuickRepoHistory",
"gitlens.openCommitOnRemote",
"gitlens.copyRemoteCommitUrl",
"gitlens.openFileOnRemote",
"gitlens.copyRemoteFileUrl"
],
"enumDescriptions": [
"切换文件责任",
"切换文件热图",
"切换自提交之前以来的文件更改",
"切换提交中的文件更改",
"切换 Git CodeLens",
"将当前行提交与上一个提交进行比较",
"将当前行提交与工作树进行比较",
"在侧栏中显示提交",
"显示检查",
"显示检查快速选择菜单",
"显示提交文件详细信息快速选择菜单",
"显示文件历史记录快速选择菜单",
"显示分支历史快速选择菜单",
"打开远程服务上的提交(如果可用)",
"将远程提交 URL 复制到剪贴板(如果可用)",
"打开远程服务上的文件修订版(如果可用)",
"将远程文件 URL 复制到剪贴板(如果可用)"
],
"markdownDescription": "指定当指责状态栏项被点击时执行的命令",
"scope": "window",
"order": 50
},
"gitlens.statusBar.tooltipFormat": {
"type": "string",
"default": "${avatar} __${author}__, ${ago}${' via 'pullRequest} _(${date})_ \n\n${message}${\n\n---\n\nfootnotes}\n\n${commands}",
"editPresentation": "multilineText",
"markdownDescription": "指定状态栏中的错误信息上显示的悬停格式(以 Markdown 形式)。请参阅 GitLens 文档中的 [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens)",
"scope": "window",
"order": 60
},
"gitlens.statusBar.reduceFlicker": {
"type": "boolean",
"default": true,
"markdownDescription": "指定换行时是否避免清除之前的怪信息,以减少状态栏“闪烁”",
"scope": "window",
"order": 70
},
"gitlens.statusBar.dateFormat": {
"type": [
"string",
"null"
],
"default": null,
"markdownDescription": "指定如何在状态栏中的指责信息中设置绝对日期的格式(例如使用“${date}”标记)。请参阅 [Moment.js 文档](https://momentjs.com/docs/#/displaying/format/) 了解支持的格式",
"scope": "window",
"order": 80
}
}
},
{
"id": "hovers",
"title": "悬停",
"order": 13,
"properties": {
"gitlens.hovers.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否提供任何悬停",
"scope": "window",
"order": 10
},
"gitlens.hovers.avatars": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在悬停时显示头像图像",
"scope": "window",
"order": 20
},
"gitlens.hovers.avatarSize": {
"type": "number",
"default": 32,
"markdownDescription": "指定悬停时头像图像的大小",
"scope": "window",
"order": 21
},
"gitlens.hovers.pullRequests.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否提供有关在悬停中引入提交的拉取请求(如果有)的信息。需要连接到受支持的远程服务(例如 GitHub)",
"scope": "window",
"order": 30
},
"gitlens.hovers.autolinks.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在提交消息中自动链接外部资源",
"scope": "window",
"order": 31
},
"gitlens.hovers.autolinks.enhanced": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在提交消息中查找有关自动链接外部资源的其他详细信息。需要连接到受支持的远程服务(例如 GitHub)",
"scope": "window",
"order": 32
},
"gitlens.hovers.currentLine.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否为当前行提供任何悬停",
"scope": "window",
"order": 40
},
"gitlens.hovers.currentLine.over": {
"type": "string",
"default": "annotation",
"enum": [
"annotation",
"line"
],
"enumDescriptions": [
"仅当鼠标悬停在线条注释上时显示",
"将鼠标悬停在线上任意位置时显示"
],
"markdownDescription": "指定何时触发当前行的悬停",
"scope": "window",
"order": 41
},
"gitlens.hovers.currentLine.details": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否为当前行提供_提交详细信息_悬停",
"scope": "window",
"order": 42
},
"gitlens.hovers.currentLine.changes": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否为当前行提供_changes (diff)_hover",
"scope": "window",
"order": 43
},
"gitlens.hovers.annotations.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定在显示责任注释时是否提供任何悬停",
"scope": "window",
"order": 50
},
"gitlens.hovers.annotations.over": {
"type": "string",
"default": "line",
"enum": [
"annotation",
"line"
],
"enumDescriptions": [
"仅当鼠标悬停在线条注释上时显示",
"将鼠标悬停在线上任意位置时显示"
],
"markdownDescription": "指定显示责备注释时何时触发悬停",
"scope": "window",
"order": 51
},
"gitlens.hovers.annotations.details": {
"type": "boolean",
"default": true,
"markdownDescription": "指定在显示责备注释时是否为所有行提供_commit细节_悬停",
"scope": "window",
"order": 52
},
"gitlens.hovers.annotations.changes": {
"type": "boolean",
"default": true,
"markdownDescription": "指定在显示责备注释时是否为所有行提供_changes (diff)_悬停",
"scope": "window",
"order": 53
},
"gitlens.hovers.detailsMarkdownFormat": {
"type": "string",
"default": "${avatar} __${author}__, ${ago}${' via 'pullRequest} _(${date})_ \n\n${message}${\n\n---\n\nfootnotes}\n\n${commands}",
"editPresentation": "multilineText",
"markdownDescription": "指定_提交详细信息_悬停的格式(以降价形式)。请参阅 GitLens 文档中的 [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens)",
"scope": "window",
"order": 60
},
"gitlens.hovers.changesDiff": {
"type": "string",
"default": "line",
"enum": [
"line",
"hunk"
],
"enumDescriptions": [
"仅显示该行的更改",
"显示相关更改集"
],
"markdownDescription": "指定是仅显示对行的更改还是在 _changes (diff)_ 悬停中显示相关更改集",
"scope": "window",
"order": 70
}
}
},
{
"id": "views",
"title": "意见",
"order": 20,
"properties": {
"gitlens.views.collapseWorktreesWhenPossible": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在可能的情况下尝试将打开的工作树折叠到视图中的单个(公共)存储库中",
"scope": "window",
"order": 1
},
"gitlens.views.defaultItemLimit": {
"type": "number",
"default": 10,
"markdownDescription": "指定视图列表中显示的默认项目数。使用 0 指定无限制",
"scope": "window",
"order": 10
},
"gitlens.views.pageItemLimit": {
"type": "number",
"default": 40,
"markdownDescription": "指定对视图列表进行分页时每页中显示的项目数。使用 0 指定无限制",
"scope": "window",
"order": 11
},
"gitlens.views.showRelativeDateMarkers": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在视图中的修订(提交)历史记录上显示相对日期标记(_不到一周前_、_一周前_、_一个月前_等)",
"scope": "window",
"order": 20
},
"gitlens.views.formats.commits.label": {
"type": "string",
"default": "${❰ tips|11? ❱➤ }${message}",
"markdownDescription": "指定视图中提交的格式。请参阅 GitLens 文档中的 [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens)",
"scope": "window",
"order": 30
},
"gitlens.views.formats.commits.description": {
"type": "string",
"default": "${author, }${agoOrDate}",
"markdownDescription": "指定视图中提交的描述格式。请参阅 GitLens 文档中的 [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens)",
"scope": "window",
"order": 31
},
"gitlens.views.formats.commits.tooltip": {
"type": "string",
"default": "${link}${' • 'changesDetail}${' 'tips} \\\n${avatar} __${author}__, ${ago}${' via 'pullRequest} _(${date})_ \n\n${message}${\n\n---\n\nfootnotes}",
"markdownDescription": "指定视图中提交的工具提示格式(以 Markdown 形式)。请参阅 GitLens 文档中的 [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens)",
"scope": "window",
"order": 32
},
"gitlens.views.formats.commits.tooltipWithStatus": {
"type": "string",
"default": "${link}${' via 'pullRequest} • {{slot-status}}${' • 'changesDetail}${' 'tips}\n\n${avatar} __${author}__, ${ago} _(${date})_ \n\n${message}${\n\n---\n\nfootnotes}",
"markdownDescription": "指定视图中“文件”提交的工具提示格式(以 Markdown 形式)。请参阅 GitLens 文档中的 [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens)",
"scope": "window",
"order": 32
},
"gitlens.views.formats.files.label": {
"type": "string",
"default": "${working }${file}",
"markdownDescription": "指定视图中文件的格式。请参阅 GitLens 文档中的 [_文件令牌_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#file-tokens)",
"scope": "window",
"order": 40
},
"gitlens.views.formats.files.description": {
"type": "string",
"default": "${directory}${ ← originalPath}",
"markdownDescription": "指定视图中文件的描述格式。请参阅 GitLens 文档中的 [_文件令牌_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#file-tokens)",
"scope": "window",
"order": 41
},
"gitlens.views.formats.stashes.label": {
"type": "string",
"default": "${message}",
"markdownDescription": "指定视图中存储的格式。请参阅 GitLens 文档中的 [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens)",
"scope": "window",
"order": 50
},
"gitlens.views.formats.stashes.description": {
"type": "string",
"default": "${stashOnRef, }${agoOrDate}",
"markdownDescription": "指定视图中存储的描述格式。请参阅 GitLens 文档中的 [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens)",
"scope": "window",
"order": 51
},
"gitlens.views.formats.stashes.tooltip": {
"type": "string",
"default": "${link}${' on `'stashOnRef`}${' • 'changesDetail} \\\n ${ago} _(${date})_ \n\n${message}${\n\n---\n\nfootnotes}",
"markdownDescription": "指定视图中存储的工具提示格式(以 Markdown 形式)。请参阅 GitLens 文档中的 [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens)",
"scope": "window",
"order": 52
},
"gitlens.views.openChangesInMultiDiffEditor": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在多重差异编辑器(单个选项卡)或单个差异编辑器(多个选项卡)中打开多个更改",
"scope": "window",
"order": 60
},
"gitlens.views.commitFileFormat": {
"deprecationMessage": "已弃用。使用 `gitlens.views.formats.files.label` 代替",
"markdownDeprecationMessage": "已弃用。使用 `#gitlens.views.formats.files.label#` 代替"
},
"gitlens.views.commitFileDescriptionFormat": {
"deprecationMessage": "已弃用。使用 `gitlens.views.formats.files.description` 代替",
"markdownDeprecationMessage": "已弃用。使用 `#gitlens.views.formats.files.description#` 代替"
},
"gitlens.views.commitFormat": {
"deprecationMessage": "已弃用。使用 `gitlens.views.formats.commits.label` 代替",
"markdownDeprecationMessage": "已弃用。使用 `#gitlens.views.commits.files.label#` 代替"
},
"gitlens.views.commitDescriptionFormat": {
"deprecationMessage": "已弃用。使用 `gitlens.views.formats.commits.description` 代替",
"markdownDeprecationMessage": "已弃用。使用“#gitlens.views.formats.commits.description#”代替"
},
"gitlens.views.stashFileFormat": {
"deprecationMessage": "已弃用。使用 `gitlens.views.formats.files.label` 代替",
"markdownDeprecationMessage": "已弃用。使用 `#gitlens.views.formats.files.label#` 代替"
},
"gitlens.views.stashFileDescriptionFormat": {
"deprecationMessage": "已弃用。使用 `gitlens.views.formats.files.description` 代替",
"markdownDeprecationMessage": "已弃用。使用 `#gitlens.views.formats.files.description#` 代替"
},
"gitlens.views.stashFormat": {
"deprecationMessage": "已弃用。使用 `gitlens.views.formats.stashes.label` 代替",
"markdownDeprecationMessage": "已弃用。使用 `#gitlens.views.stashes.files.label#` 代替"
},
"gitlens.views.stashDescriptionFormat": {
"deprecationMessage": "已弃用。使用 `gitlens.views.formats.stashes.description` 代替",
"markdownDeprecationMessage": "已弃用。使用“#gitlens.views.formats.stashes.description#”代替"
},
"gitlens.views.statusFileFormat": {
"deprecationMessage": "已弃用。使用 `gitlens.views.formats.files.label` 代替",
"markdownDeprecationMessage": "已弃用。使用 `#gitlens.views.formats.files.label#` 代替"
},
"gitlens.views.statusFileDescriptionFormat": {
"deprecationMessage": "已弃用。使用 `gitlens.views.formats.files.description` 代替",
"markdownDeprecationMessage": "已弃用。使用 `#gitlens.views.formats.files.description#` 代替"
}
}
},
{
"id": "commits-view",
"title": "提交视图",
"order": 21,
"properties": {
"gitlens.views.commits.showBranchComparison": {
"type": [
"boolean",
"string"
],
"enum": [
false,
"branch",
"working"
],
"enumDescriptions": [
"隐藏分支比较",
"将当前分支与用户选择的参考进行比较",
"将工作树与用户选择的参考进行比较"
],
"default": "working",
"markdownDescription": "指定是否在 _Commits_ 视图中显示当前分支或工作树与用户选择的参考(分支、标签等)的比较",
"scope": "window",
"order": 10
},
"gitlens.views.commits.pullRequests.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在 _Commits_ 视图中查询与当前分支关联的拉取请求和提交。需要连接到受支持的远程服务(例如 GitHub)",
"scope": "window",
"order": 21
},
"gitlens.views.commits.pullRequests.showForBranches": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在 _Commits_ 视图中显示与当前分支关联的拉取请求(如果有)。需要连接到受支持的远程服务(例如 GitHub)",
"scope": "window",
"order": 22
},
"gitlens.views.commits.pullRequests.showForCommits": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否显示与 _Commits_ 视图中的提交关联的拉取请求(如果有)。需要连接到受支持的远程服务(例如 GitHub)",
"scope": "window",
"order": 23
},
"gitlens.views.commits.files.layout": {
"type": "string",
"default": "auto",
"enum": [
"auto",
"list",
"tree"
],
"enumDescriptions": [
"根据“#gitlens.views.commits.files.threshold#”值和每个嵌套级别的文件数量自动切换将文件显示为“树”或“列表”",
"将文件显示为列表",
"将文件显示为树"
],
"markdownDescription": "指定 _Commits_ 视图将如何显示文件",
"scope": "window",
"order": 30
},
"gitlens.views.commits.files.threshold": {
"type": "number",
"default": 5,
"markdownDescription": "指定何时根据 _Commits_ 视图中嵌套级别的文件数量在将文件显示为“树”或“列表”之间进行切换。仅当“#gitlens.views.commits.files.layout#”设置为“auto”时适用",
"scope": "window",
"order": 31
},
"gitlens.views.commits.files.compact": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否压缩(展平)_Commits_ 视图中不必要的嵌套文件。仅当“#gitlens.views.commits.files.layout#”设置为“tree”或“auto”时适用",
"scope": "window",
"order": 32
},
"gitlens.views.commits.files.icon": {
"type": "string",
"default": "type",
"enum": [
"status",
"type"
],
"enumDescriptions": [
"将文件的状态显示为图标",
"将文件类型(主题图标)显示为图标"
],
"markdownDescription": "指定 _Commits_ 视图如何显示文件图标",
"scope": "window",
"order": 33
},
"gitlens.views.commits.avatars": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在 _Commits_ 视图中显示头像图像而不是提交(或状态)图标",
"scope": "window",
"order": 40
},
"gitlens.views.commits.reveal": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在 _Commits_ 视图中显示提交,否则在 _Repositories_ 视图中显示",
"scope": "window",
"order": 50
}
}
},
{
"id": "commit-details-view",
"title": "检查视图",
"order": 22,
"properties": {
"gitlens.views.commitDetails.autolinks.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在提交消息中自动链接外部资源",
"scope": "window",
"order": 31
},
"gitlens.views.commitDetails.autolinks.enhanced": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在提交消息中查找有关自动链接外部资源的其他详细信息。需要连接到受支持的远程服务(例如 GitHub)",
"scope": "window",
"order": 32
},
"gitlens.views.commitDetails.pullRequests.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否查询关联的拉取请求。需要连接到受支持的远程服务(例如 GitHub)",
"scope": "window",
"order": 21
},
"gitlens.views.commitDetails.files.layout": {
"type": "string",
"default": "auto",
"enum": [
"auto",
"list",
"tree"
],
"enumDescriptions": [
"根据“#gitlens.views.commitDetails.files.threshold#”值和每个嵌套级别的文件数量,自动切换将文件显示为“树”或“列表”",
"将文件显示为列表",
"将文件显示为树"
],
"markdownDescription": "指定_提交详细信息_视图将如何显示文件",
"scope": "window",
"order": 30
},
"gitlens.views.commitDetails.files.threshold": {
"type": "number",
"default": 5,
"markdownDescription": "指定何时根据_提交详细信息_视图中嵌套级别中的文件数量在将文件显示为“树”或“列表”之间进行切换。仅当“#gitlens.views.commitDetails.files.layout#”设置为“auto”时适用",
"scope": "window",
"order": 31
},
"gitlens.views.commitDetails.files.compact": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否压缩(展平)_Commit Details_ 视图中不必要的文件嵌套。仅当“#gitlens.views.commitDetails.files.layout#”设置为“tree”或“auto”时适用",
"scope": "window",
"order": 32
},
"gitlens.views.commitDetails.files.icon": {
"type": "string",
"default": "type",
"enum": [
"status",
"type"
],
"enumDescriptions": [
"将文件的状态显示为图标",
"将文件类型(主题图标)显示为图标"
],
"markdownDescription": "指定“提交详细信息”视图如何显示文件图标",
"scope": "window",
"order": 33
},
"gitlens.views.commitDetails.avatars": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在“提交详细信息”视图中显示头像图像而不是提交(或状态)图标",
"scope": "window",
"order": 40
}
}
},
{
"id": "repositories-view",
"title": "存储库视图",
"order": 23,
"properties": {
"gitlens.views.repositories.showBranchComparison": {
"type": [
"boolean",
"string"
],
"enum": [
false,
"branch",
"working"
],
"enumDescriptions": [
"隐藏分支比较",
"将当前分支与用户选择的参考进行比较",
"将工作树与用户选择的参考进行比较"
],
"default": "working",
"markdownDescription": "指定是否在 _Repositories_ 视图中显示当前分支或工作树与用户选择的参考(分支、标签等)的比较",
"scope": "window",
"order": 10
},
"gitlens.views.repositories.showUpstreamStatus": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在 _Repositories_ 视图中显示每个存储库的当前分支的上游状态",
"scope": "window",
"order": 11
},
"gitlens.views.repositories.includeWorkingTree": {
"type": "boolean",
"default": false,
"markdownDescription": "指定是否在 _Repositories_ 视图中包含每个存储库的工作树文件状态",
"scope": "window",
"order": 12
},
"gitlens.views.repositories.pullRequests.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否在 _Repositories_ 视图中查询与分支和提交关联的拉取请求。需要连接到受支持的远程服务(例如 GitHub)",
"scope": "window",
"order": 20
},
"gitlens.views.repositories.pullRequests.showForBranches": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否显示与 _Repositories_ 视图中的分支关联的拉取请求(如果有)。需要连接到受支持的远程服务(例如 GitHub)",
"scope": "window",
"order": 21
},
"gitlens.views.repositories.pullRequests.showForCommits": {
"type": "boolean",
"default": true,
"markdownDescription": "指定是否显示与 _Repositories_ 视图中的提交关联的拉取请求(如果有)。需要连接到受支持的远程服务(例如 GitHub)",
"scope": "window",
"order": 22
},
"gitlens.views.repositories.showCommits": {
"type": "boolean",
"default": true,