-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathzh-CN.json
2021 lines (2007 loc) · 74.1 KB
/
zh-CN.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
{
"root": [
{
"name": "list",
"tip": [
"显示已经添加的补全。\n",
"{{ $json.info.list.example }}"
],
"options": [
{
"name": "--remote",
"tip": [
"显示远程仓库({{ $PSCompletions.url }})中的所有可用补全。"
]
}
]
},
{
"name": "add",
"next": [
{
"name": "*",
"tip": [
"添加所有的补全。\n",
"注意:添加大量的补全可能会导致 PowerShell 启动加载速度变得慢一点。\n",
" 建议添加自己需要使用的补全。"
]
}
],
"tip": [
"添加补全(一个或多个)。\n",
"{{ $info.add.example }}"
]
},
{
"name": "rm",
"next": [
{
"name": "*",
"tip": [
"移除所有的补全。\n",
"注意: psc 作为 PSCompletions 模块的补全,会在移除后自动重新添加。"
]
}
],
"tip": [
"移除补全(一个或多个)。\n",
"{{ $info.rm.example }}"
]
},
{
"name": "update",
"tip": [
"更新补全(一个或多个)。\n",
"{{ $info.update.example }}"
],
"next": [
{
"name": "*",
"tip": [
"更新当前所有可更新的补全。\n",
"{{",
"if($PSCompletions.update){ \"当前可更新的补全: $($PSCompletions.update -join ',')\" }",
"else{'所有补全都是最新的!'}",
"}}"
],
"options": [
{
"name": "--force",
"tip": [
"强制更新所有已经添加的补全。\n",
"(这可以确保补全一定是最新的)"
]
}
]
}
]
},
{
"name": "search",
"tip": [
"搜索补全(可使用通配符匹配)。\n",
"{{ $info.search.example }}"
],
"next": [
{
"name": "*",
"tip": [
"搜索所有可用补全。"
]
}
]
},
{
"name": "which",
"tip": [
"定位补全存储位置。\n",
"{{ $info.which.example }}"
],
"next": []
},
{
"name": "alias",
"tip": [
"管理补全触发的命令名。\n",
"现在补全别名是一个列表, 初始列表是补全的默认触发名, 你可以自由的添加和删除别名(包括默认触发名)。\n",
"但是,添加的别名不能带有空格。\n",
"{{ $info.alias.example }}"
],
"next": [
{
"name": "list",
"tip": [
"显示所有补全别名。"
]
},
{
"name": "add",
"tip": [
"为指定补全添加一个别名。\n",
"注意: 是添加一个新的别名而不是替换, 原本的补全名也可以使用。\n",
" 如果只想保留新的别名, 需要在添加新的别名后使用 rm 命令移除原本的补全名。\n",
"{{ $info.alias.add.example }}"
],
"next": []
},
{
"name": "rm",
"tip": [
"删除补全别名(一个或多个)。\n",
"{{ $info.example.alias.rm.example }}"
],
"next": []
}
]
},
{
"name": "config",
"tip": [
"读写/更改配置。\n",
"{{ $info.config.example }}"
],
"next": [
{
"name": "language",
"tip": [
"当前值: {{ $PSCompletions.language }}\n",
"读取/设置当前配置语言。\n",
"配置语言会影响所有添加的补全语言。\n",
"通过 psc completion 单独设置了补全语言的不受影响。\n",
"更多信息请访问: https://gitee.com/abgox/PSCompletions/blob/main/README-CN.md#关于语言"
],
"next": [
{
"name": "en-US",
"tip": [
"设置为英文。",
"{{",
"if(!$PSCompletions.config.url){",
" $github=$PSCompletions.config.github;",
" if($github){ \"`n设置为 en-US 后, 添加补全时, 将从 Github 仓库($($github))中获取\" }",
"}",
"}}"
]
}
]
},
{
"name": "disable_cache",
"tip": [
"当前值: {{ $PSCompletions.config.disable_cache }}\n",
"设置是否禁用补全缓存。\n",
"这个配置通常不需要修改, 主要用于补全数据文件的更新调试(每次补全都会重新读取 json)。"
],
"next": [
{
"name": "1",
"tip": [
"设置为 1\n",
"禁用补全缓存, 主要用于更新调试补全数据文件。\n",
"禁用后, 每次补全都会重新去读取补全数据文件(json)。"
]
},
{
"name": "0",
"tip": [
"设置为 0 (默认值)\n",
"启用补全缓存, 这会让补全的加载速度更快, 建议保持默认。"
]
}
]
},
{
"name": "enable_completions_update",
"tip": [
"当前值: {{ $PSCompletions.config.enable_completions_update }}\n",
"设置首次加载 PSCompletions 模块时是否显示补全更新(更新包括更新补全、新增补全)。"
],
"next": [
{
"name": "1",
"tip": [
"设置为 1 (默认值)\n",
"首次加载模块时显示补全更新。"
]
},
{
"name": "0",
"tip": [
"设置为 0\n",
"首次加载模块时不显示补全更新。\n",
"注意: 这并不推荐, 因为及时获取更新信息能避免一些意外错误。"
]
}
]
},
{
"name": "enable_module_update",
"tip": [
"当前值: {{ $PSCompletions.config.enable_module_update }}\n",
"当模块有了新版本后, 是否在首次加载模块后显示更新提示。\n",
"注意: 远程仓库始终匹配 PSCompletions 最新版本, 不建议关闭它。\n",
" 如果遇到模块错误,请确保使用的是最新版本的 PSCompletions 模块。"
],
"next": [
{
"name": "1",
"tip": [
"设置为 1 (默认值)\n",
"显示更新提示。"
]
},
{
"name": "0",
"tip": [
"设置为 0\n",
"不显示更新提示。\n",
"注意: 远程仓库始终匹配 PSCompletions 最新版本, 不建议关闭它。\n",
" 如果遇到模块错误,请确保使用的是最新版本的 PSCompletions 模块。"
]
}
]
},
{
"name": "url",
"tip": [
"当前值: \"{{ $PSCompletions.config.url }}\"\n",
"设置远程补全信息的地址。\n",
"默认值为 \"\",表示根据语言自动选择仓库(Github/Gitee)。\n",
"{{ $info.config.url.example }}"
],
"next": [
{
"name": "\"\"",
"tip": [
"设置为 \"\" (默认值)\n",
"它表示根据语言自动选择仓库(Github/Gitee)。"
]
},
{
"name": "\"https://github.com/abgox/PSCompletions/raw/main\"",
"tip": [
"使用 Github 地址。"
]
},
{
"name": "\"https://gitee.com/abgox/PSCompletions/raw/main\"",
"tip": [
"使用 Gitee 地址。"
]
},
{
"name": "\"https://abgox.github.io/PSCompletions\"",
"tip": [
"一个可用的地址。\n",
"(通过 Github Pages 生成)"
]
}
]
},
{
"name": "function_name",
"tip": [
"当前值: {{ $PSCompletions.config.function_name }}\n",
"设置模块导出的核心函数名。\n",
"当你需要定义一个函数,且必须命名为 PSCompletions 时,你可以通过此配置修改 PSCompletions 模块默认导出的函数名以解决冲突。"
],
"next": [
{
"name": "PSCompletions",
"tip": [
"设置为 PSCompletions (默认值)。"
]
}
]
}
]
},
{
"name": "completion",
"tip": [
"指定单个补全的特殊配置(特殊配置优先级最高)。\n",
"每个补全默认带有两个可设置的特殊配置(language|enable_tip)。\n",
"{{ $info.completion.example }}"
],
"next": []
},
{
"name": "menu",
"tip": [
"管理补全菜单的相关配置。\n",
"{{ $info.menu.example}}"
],
"next": [
{
"name": "symbol",
"tip": [
"设置补全提示中的特殊符号(»?!)。\n",
"这些符号只在通过 psc add 添加的补全中存在。\n",
"详情: https://pscompletions.pages.dev/command/#menu-symbol"
],
"next": [
{
"name": "SpaceTab",
"tip": [
"当前值: {{ $PSCompletions.config.SpaceTab }}\n",
"使用 psc menu symbol SpaceTab \"\" 可以隐藏这个符号。 "
],
"next": [
{
"name": "»",
"tip": [
"设置为 » (默认值)。"
]
},
{
"name": "\"\"",
"tip": [
"设置为 \"\"\n",
"这可以起到隐藏符号的效果, 但是不建议你隐藏符号, 更建议修改为你喜欢的符号。\n",
"因为符号的出现是为了让你能够直观感知到是否可以继续使用 Tab 进行补全。"
]
}
]
},
{
"name": "WriteSpaceTab",
"tip": [
"当前值: {{ $PSCompletions.config.WriteSpaceTab }}\n",
"使用 psc menu symbol WriteSpaceTab \"\" 可以隐藏这个符号。 "
],
"next": [
{
"name": "!",
"tip": [
"设置为 ! (默认值)。"
]
},
{
"name": "\"\"",
"tip": [
"设置为 \"\"\n",
"这可以起到隐藏符号的效果, 但是不建议你隐藏符号, 更建议修改为你喜欢的符号。\n",
"因为符号的出现就是为了让你能够直观感知到是否可以继续使用 Tab 进行补全。"
]
}
]
},
{
"name": "OptionTab",
"tip": [
"当前值: {{ $PSCompletions.config.OptionTab }}\n",
"使用 psc menu symbol OptionTab \"\" 可以隐藏这个符号。 "
],
"next": [
{
"name": "?",
"tip": [
"设置为 ? (默认值)。"
]
},
{
"name": "\"\"",
"tip": [
"设置为 \"\"\n",
"这可以起到隐藏符号的效果, 但是不建议你隐藏符号, 更建议修改为你喜欢的符号。\n",
"因为符号的出现就是为了让你能够直观感知到是否可以继续使用 Tab 进行补全。"
]
}
]
}
]
},
{
"name": "line_theme",
"tip": [
"切换补全菜单的内置边框样式主题。\n",
"你也可以通过 psc menu custom line 下的命令来自定义。\n",
"{{ $info.menu.line_theme.example }}"
],
"next": [
{
"name": "double_line_rect_border",
"tip": [
"设置为双线直角边框(默认值)。效果如下:\n",
"╔═════╗\n",
"║ ║\n",
"╚═════╝"
]
},
{
"name": "bold_line_rect_border",
"tip": [
"设置为粗线直角边框。效果如下:\n",
"┏━━━━━┓\n",
"┃ ┃\n",
"┗━━━━━┛"
]
},
{
"name": "single_line_rect_border",
"tip": [
"设置为单线直角边框。效果如下:\n",
"┌─────┐\n",
"│ │\n",
"└─────┘"
]
},
{
"name": "single_line_round_border",
"tip": [
"设置为单线圆角边框。效果如下:\n",
"╭─────╮\n",
"│ │\n",
"╰─────╯"
]
},
{
"name": "boldTB_slimLR_border",
"tip": [
"设置边框(上下粗线,左右细线)。效果如下:\n",
"┍━━━━━┑\n",
"│ │\n",
"┕━━━━━┙"
]
},
{
"name": "slimTB_boldLR_border",
"tip": [
"设置边框(上下细线,左右粗线)。效果如下:\n",
"┎─────┒\n",
"┃ ┃\n",
"┖─────┚"
]
},
{
"name": "doubleTB_singleLR_border",
"tip": [
"设置边框(上下双线,左右单线)。效果如下:\n",
"╒═════╕\n",
"│ │\n",
"╘═════╛"
]
},
{
"name": "singleTB_doubleLR_border",
"tip": [
"设置边框(上下单线,左右双线)。效果如下:\n",
"╓─────╖\n",
"║ ║\n",
"╙─────╜"
]
}
]
},
{
"name": "color_theme",
"tip": [
"切换补全菜单的内置颜色主题。\n",
"你也可以通过 psc menu custom color 下的命令来自定义。\n",
"{{ $info.menu.color_theme.example }}"
],
"next": [
{
"name": "default",
"tip": [
"设置为默认主题(深色主题)。"
]
},
{
"name": "magenta",
"tip": [
"设置为 Magenta 主题(浅色主题)。"
]
}
]
},
{
"name": "custom",
"tip": [
"自定义补全菜单的样式。\n",
"{{ $info.menu.custom.example }}"
],
"next": [
{
"name": "color",
"tip": [
"颜色相关的自定义配置。\n",
"{{ $info.example.menu_custom_color }}"
],
"next": [
{
"name": "border_text",
"tip": [
"当前值: {{ $PSCompletions.config.border_text }}\n",
"边框的前景色。\n",
"{{ $info.example.menu_custom_color_border_text }}"
],
"next": []
},
{
"name": "border_back",
"tip": [
"当前值: {{ $PSCompletions.config.border_back }}\n",
"边框的背景色。\n",
"{{ $info.example.menu_custom_color_border_back }}"
],
"next": []
},
{
"name": "item_text",
"tip": [
"当前值: {{ $PSCompletions.config.item_text }}\n",
"补全项的前景色。\n",
"{{ $info.example.menu_custom_color_item_text }}"
],
"next": []
},
{
"name": "item_back",
"tip": [
"当前值: {{ $PSCompletions.config.item_back }}\n",
"补全项的背景色。\n",
"{{ $info.example.menu_custom_color_item_back }}"
],
"next": []
},
{
"name": "selected_text",
"tip": [
"当前值: {{ $PSCompletions.config.selected_text }}\n",
"选中项的前景色。\n",
"{{ $info.example.menu_custom_color_selected_text }}"
],
"next": []
},
{
"name": "selected_back",
"tip": [
"当前值: {{ $PSCompletions.config.selected_back }}\n",
"选中项的背景色。\n",
"{{ $info.example.menu_custom_color_selected_back }}"
],
"next": []
},
{
"name": "filter_text",
"tip": [
"当前值: {{ $PSCompletions.config.filter_text }}\n",
"过滤框(左上角)的前景色。\n",
"{{ $info.example.menu_custom_color_filter_text }}"
],
"next": []
},
{
"name": "filter_back",
"tip": [
"当前值: {{ $PSCompletions.config.filter_back }}\n",
"过滤框(左上角)的背景色。\n",
"{{ $info.example.menu_custom_color_filter_back }}"
],
"next": []
},
{
"name": "status_text",
"tip": [
"当前值: {{ $PSCompletions.config.status_text }}\n",
"补全个数显示(左下角)的前景色。\n",
"{{ $info.example.menu_custom_color_status_text }}"
],
"next": []
},
{
"name": "status_back",
"tip": [
"当前值: {{ $PSCompletions.config.status_back }}\n",
"补全个数显示(左下角)的背景色。\n",
"{{ $info.example.menu_custom_color_status_back }}"
],
"next": []
},
{
"name": "tip_text",
"tip": [
"当前值: {{ $PSCompletions.config.tip_text }}\n",
"补全提示信息的前景色。\n",
"{{ $info.example.menu_custom_color_tip_text }}"
],
"next": []
},
{
"name": "tip_back",
"tip": [
"当前值: {{ $PSCompletions.config.tip_back }}\n",
"补全提示信息的背景色。\n",
"{{ $info.example.menu_custom_color_tip_back }}"
],
"next": []
}
]
},
{
"name": "line",
"tip": [
"补全菜单的边框线相关的自定义配置。\n",
"{{ $info.example.menu_custom_line }}"
],
"next": [
{
"name": "horizontal",
"tip": [
"当前值: \"{{ $PSCompletions.config.horizontal }}\"\n",
"边框的横线。\n",
"{{ $info.example.menu_custom_line_horizontal }}"
],
"next": [
{
"name": "═",
"tip": [
"默认值。"
]
},
{
"name": "━"
},
{
"name": "─"
},
{
"name": "┄"
},
{
"name": "┅"
},
{
"name": "┈"
},
{
"name": "┉"
}
]
},
{
"name": "vertical",
"tip": [
"当前值: \"{{ $PSCompletions.config.vertical }}\"\n",
"边框的竖线。\n",
"{{ $info.example.menu_custom_line_vertical }}"
],
"next": [
{
"name": "║",
"tip": [
"默认值。"
]
},
{
"name": "┃"
},
{
"name": "│"
},
{
"name": "┆"
},
{
"name": "┇"
},
{
"name": "┊"
},
{
"name": "┋"
}
]
},
{
"name": "top_left",
"tip": [
"当前值: \"{{ $PSCompletions.config.top_left }}\"\n",
"边框的左上角。\n",
"{{ $info.example.menu_custom_line_top_left }}"
],
"next": [
{
"name": "╔",
"tip": [
"默认值。"
]
},
{
"name": "┏"
},
{
"name": "┌"
},
{
"name": "╭"
},
{
"name": "┍"
},
{
"name": "┎"
},
{
"name": "╒"
},
{
"name": "╓"
}
]
},
{
"name": "bottom_left",
"tip": [
"当前值: \"{{ $PSCompletions.config.bottom_left }}\"\n",
"边框的左下角。\n",
"{{ $info.example.menu_custom_line_bottom_left }}"
],
"next": [
{
"name": "╚",
"tip": [
"默认值。"
]
},
{
"name": "┗"
},
{
"name": "└"
},
{
"name": "╰"
},
{
"name": "┕"
},
{
"name": "┖"
},
{
"name": "╘"
},
{
"name": "╙"
}
]
},
{
"name": "top_right",
"tip": [
"当前值: \"{{ $PSCompletions.config.top_right }}\"\n",
"边框的右上角。\n",
"{{ $info.example.menu_custom_line_top_right }}"
],
"next": [
{
"name": "╗",
"tip": [
"默认值。"
]
},
{
"name": "┓"
},
{
"name": "┐"
},
{
"name": "╮"
},
{
"name": "┑"
},
{
"name": "┒"
},
{
"name": "╕"
},
{
"name": "╖"
}
]
},
{
"name": "bottom_right",
"tip": [
"当前值: \"{{ $PSCompletions.config.bottom_right }}\"\n",
"边框的右下角。\n",
"{{ $info.example.menu_custom_line_bottom_right }}"
],
"next": [
{
"name": "╝",
"tip": [
"默认值。"
]
},
{
"name": "┛"
},
{
"name": "┘"
},
{
"name": "╯"
},
{
"name": "┙"
},
{
"name": "┚"
},
{
"name": "╛"
},
{
"name": "╜"
}
]
}
]
}
]
},
{
"name": "config",
"tip": [
"针对补全菜单的一些其他自定义配置。\n",
"{{ $info.menu.config.example }}"
],
"next": [
{
"name": "enable_enter_when_single",
"tip": [
"当前值: {{ $PSCompletions.config.enable_enter_when_single }} (默认值为 0, 表示禁用)\n",
"当候选补全项只有一个时, 是否直接输入, 而不是显示补全菜单。"
],
"next": [
{
"name": "0",
"tip": [
"设置为 0 (默认值)\n",
"即使只有一个候选补全项, 也会先显示菜单, 此时, 你可以再次按下 Tab 或 空格键输入此候选补全项。"
]
},
{
"name": "1",
"tip": [
"设置为 1\n",
"当候选补全项只有一个时, 会直接输入, 不会显示补全菜单。"
]
}
]
},
{
"name": "enable_menu",
"tip": [
"当前值: {{ $PSCompletions.config.enable_menu }} (默认值为 1, 表示启用)\n",
"设置是否使用 PSCompletions 模块提供的补全菜单。\n",
"如果你不是在 Windows 系统下使用 PowerShell(pwsh), 你无法使用模块提供的补全菜单, 此配置无效。"
],
"next": [
{
"name": "0",
"tip": [
"设置为 0\n",
"使用 PowerShell 内置的补全菜单。"
]
},
{
"name": "1",
"tip": [
"设置为 1 (默认值)\n",
"使用 PSCompletions 模块提供的补全菜单。"
]
}
]
},
{
"name": "height_from_menu_bottom_to_cursor_when_above",
"tip": [
"当前值: {{ $PSCompletions.config.height_from_menu_bottom_to_cursor_when_above }} (默认值为 0,必须大于等于 0)\n",
"设置当补全菜单显示在上方时, 菜单底部和输入光标之间的高度。"
],
"next": [
{
"name": "0",
"tip": [
"设置为 0 (默认值)。"
]
},
{
"name": "2"
},
{
"name": "3"
}
]
},
{
"name": "enable_list_cover_buffer",
"tip": [
"当前值: {{ $PSCompletions.config.enable_list_cover_buffer }} (默认值为 0, 表示禁用)\n",
"设置当显示补全列表时, 是否覆盖它所在区域每一行的原有内容(退出补全菜单时恢复)。\n",
"如果禁用, 则只覆盖显示所需要的一小块区域内容。"
],
"next": [
{
"name": "0",
"tip": [
"设置为 0 (默认值)\n",
"不覆盖所在区域每一行的原有内容, 只覆盖显示所需要的一小块区域内容。"
]
},
{
"name": "1",
"tip": [
"设置为 1\n",
"覆盖所在区域每一行的原有内容。"
]
}
]
},
{
"name": "enable_tip_cover_buffer",
"tip": [
"当前值: {{ $PSCompletions.config.enable_tip_cover_buffer }} (默认值为 1, 表示启用)\n",
"设置当显示补全提示信息时, 是否覆盖它所在区域及其附近区域每一行的原有内容(退出补全菜单时恢复)。"
],
"next": [
{
"name": "0",
"tip": [
"设置为 0 \n",
"不覆盖它所在区域及其上方区域每一行的原有内容, 只覆盖显示所需要的那几行区域。"
]
},
{
"name": "1",
"tip": [
"设置为 1 (默认值)\n",
"覆盖它所在区域及其上方区域每一行的原有内容。"
]
}
]
},
{
"name": "enable_tip",
"tip": [
"当前值: {{ $PSCompletions.config.enable_tip }} (默认值为 1, 表示启用)\n",
"设置是否需要补全提示信息。\n",
"当启用时, 如果 PowerShell 显示区域过小, 会自动隐藏补全提示信息, 以便能正常显示补全项。"
],
"next": [
{
"name": "0",
"tip": [
"设置为 0\n",
"不显示补全提示信息。"
]
},
{
"name": "1",
"tip": [
"设置为 1 (默认值)\n",
"显示补全提示信息。"
]
}
]
},
{
"name": "trigger_key",
"tip": [
"当前值: \"{{ $PSCompletions.config.trigger_key }}\" (默认值为 \"Tab\")\n",
"设置触发补全的按键。"
],