-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsublime-package.json
More file actions
1905 lines (1905 loc) · 116 KB
/
Copy pathsublime-package.json
File metadata and controls
1905 lines (1905 loc) · 116 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
{
"contributions": {
"settings": [
{
"file_patterns": [
"/LSP-tsgo.sublime-settings"
],
"schema": {
"$id": "sublime://settings/LSP-tsgo",
"definitions": {
"PluginConfig": {
"properties": {
"server_path": {
"type": "string",
"default": "auto",
"markdownDescription": "The path to the server binary to use for starting the language server. Use `auto` for the package to manage (install/update) server automatically.\n\n> [!NOTE]\n> Change this instead of directly updating `command` - the `${server_path}` variable is dynamically resolved based on this setting.\n\n> [!WARNING]\n> Using custom binary could result in package settings not matching what server supports."
},
"settings": {
"type": "object",
"additionalProperties": false,
"properties": {
"js/ts.locale": {
"type": "string",
"default": "auto",
"enum": [
"auto",
"de",
"es",
"en",
"fr",
"it",
"ja",
"ko",
"ru",
"zh-CN",
"zh-TW"
],
"enumDescriptions": [
"Use VS Code's configured display language.",
"Deutsch",
"espa\u00f1ol",
"English",
"fran\u00e7ais",
"italiano",
"\u65e5\u672c\u8a9e",
"\ud55c\uad6d\uc5b4",
"\u0440\u0443\u0441\u0441\u043a\u0438\u0439",
"\u4e2d\u6587(\u7b80\u4f53)",
"\u4e2d\u6587(\u7e41\u9ad4)"
],
"markdownDescription": "Sets the locale used to report JavaScript and TypeScript errors. Defaults to use VS Code's locale."
},
"typescript.locale": {
"type": "string",
"default": "auto",
"enum": [
"auto",
"de",
"es",
"en",
"fr",
"it",
"ja",
"ko",
"ru",
"zh-CN",
"zh-TW"
],
"enumDescriptions": [
"Use VS Code's configured display language.",
"Deutsch",
"espa\u00f1ol",
"English",
"fran\u00e7ais",
"italiano",
"\u65e5\u672c\u8a9e",
"\ud55c\uad6d\uc5b4",
"\u0440\u0443\u0441\u0441\u043a\u0438\u0439",
"\u4e2d\u6587(\u7b80\u4f53)",
"\u4e2d\u6587(\u7e41\u9ad4)"
],
"markdownDescription": "Sets the locale used to report JavaScript and TypeScript errors. Defaults to use VS Code's locale.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.locale#` instead."
},
"js/ts.preferences.quoteStyle": {
"type": "string",
"enum": [
"auto",
"single",
"double"
],
"default": "auto",
"markdownDescription": "Preferred quote style to use for Quick Fixes.",
"markdownEnumDescriptions": [
"Infer quote type from existing code",
"Always use single quotes: `'`",
"Always use double quotes: `\"`"
]
},
"javascript.preferences.quoteStyle": {
"type": "string",
"enum": [
"auto",
"single",
"double"
],
"default": "auto",
"markdownDescription": "Preferred quote style to use for Quick Fixes.",
"markdownEnumDescriptions": [
"Infer quote type from existing code",
"Always use single quotes: `'`",
"Always use double quotes: `\"`"
],
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.quoteStyle#` instead."
},
"typescript.preferences.quoteStyle": {
"type": "string",
"enum": [
"auto",
"single",
"double"
],
"default": "auto",
"markdownDescription": "Preferred quote style to use for Quick Fixes.",
"markdownEnumDescriptions": [
"Infer quote type from existing code",
"Always use single quotes: `'`",
"Always use double quotes: `\"`"
],
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.quoteStyle#` instead."
},
"js/ts.preferences.importModuleSpecifier": {
"type": "string",
"enum": [
"shortest",
"relative",
"non-relative",
"project-relative"
],
"markdownEnumDescriptions": [
"Prefers a non-relative import only if one is available that has fewer path segments than a relative import.",
"Prefers a relative path to the imported file location.",
"Prefers a non-relative import based on the `baseUrl` or `paths` configured in your `jsconfig.json` / `tsconfig.json`.",
"Prefers a non-relative import only if the relative import path would leave the package or project directory."
],
"default": "shortest",
"description": "Preferred path style for auto imports."
},
"javascript.preferences.importModuleSpecifier": {
"type": "string",
"enum": [
"shortest",
"relative",
"non-relative",
"project-relative"
],
"markdownEnumDescriptions": [
"Prefers a non-relative import only if one is available that has fewer path segments than a relative import.",
"Prefers a relative path to the imported file location.",
"Prefers a non-relative import based on the `baseUrl` or `paths` configured in your `jsconfig.json` / `tsconfig.json`.",
"Prefers a non-relative import only if the relative import path would leave the package or project directory."
],
"default": "shortest",
"description": "Preferred path style for auto imports.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.importModuleSpecifier#` instead."
},
"typescript.preferences.importModuleSpecifier": {
"type": "string",
"enum": [
"shortest",
"relative",
"non-relative",
"project-relative"
],
"markdownEnumDescriptions": [
"Prefers a non-relative import only if one is available that has fewer path segments than a relative import.",
"Prefers a relative path to the imported file location.",
"Prefers a non-relative import based on the `baseUrl` or `paths` configured in your `jsconfig.json` / `tsconfig.json`.",
"Prefers a non-relative import only if the relative import path would leave the package or project directory."
],
"default": "shortest",
"description": "Preferred path style for auto imports.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.importModuleSpecifier#` instead."
},
"js/ts.preferences.importModuleSpecifierEnding": {
"type": "string",
"enum": [
"auto",
"minimal",
"index",
"js"
],
"enumItemLabels": [
null,
null,
null,
".js / .ts"
],
"markdownEnumDescriptions": [
"Use project settings to select a default.",
"Shorten `./component/index.js` to `./component`.",
"Shorten `./component/index.js` to `./component/index`.",
"Do not shorten path endings; include the `.js` or `.ts` extension."
],
"default": "auto",
"description": "Preferred path ending for auto imports."
},
"javascript.preferences.importModuleSpecifierEnding": {
"type": "string",
"enum": [
"auto",
"minimal",
"index",
"js"
],
"enumItemLabels": [
null,
null,
null,
".js / .ts"
],
"markdownEnumDescriptions": [
"Use project settings to select a default.",
"Shorten `./component/index.js` to `./component`.",
"Shorten `./component/index.js` to `./component/index`.",
"Do not shorten path endings; include the `.js` or `.ts` extension."
],
"default": "auto",
"description": "Preferred path ending for auto imports.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.importModuleSpecifierEnding#` instead."
},
"typescript.preferences.importModuleSpecifierEnding": {
"type": "string",
"enum": [
"auto",
"minimal",
"index",
"js"
],
"enumItemLabels": [
null,
null,
null,
".js / .ts"
],
"markdownEnumDescriptions": [
"Use project settings to select a default.",
"Shorten `./component/index.js` to `./component`.",
"Shorten `./component/index.js` to `./component/index`.",
"Do not shorten path endings; include the `.js` or `.ts` extension."
],
"default": "auto",
"description": "Preferred path ending for auto imports.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.importModuleSpecifierEnding#` instead."
},
"js/ts.preferences.jsxAttributeCompletionStyle": {
"type": "string",
"enum": [
"auto",
"braces",
"none"
],
"markdownEnumDescriptions": [
"Insert `={}` or `=\"\"` after attribute names based on the prop type. See `#js/ts.preferences.quoteStyle#` to control the type of quotes used for string attributes.",
"Insert `={}` after attribute names.",
"Only insert attribute names."
],
"default": "auto",
"description": "Preferred style for JSX attribute completions."
},
"javascript.preferences.jsxAttributeCompletionStyle": {
"type": "string",
"enum": [
"auto",
"braces",
"none"
],
"markdownEnumDescriptions": [
"Insert `={}` or `=\"\"` after attribute names based on the prop type. See `#javascript.preferences.quoteStyle#` to control the type of quotes used for string attributes.",
"Insert `={}` after attribute names.",
"Only insert attribute names."
],
"default": "auto",
"description": "Preferred style for JSX attribute completions.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.jsxAttributeCompletionStyle#` instead."
},
"typescript.preferences.jsxAttributeCompletionStyle": {
"type": "string",
"enum": [
"auto",
"braces",
"none"
],
"markdownEnumDescriptions": [
"Insert `={}` or `=\"\"` after attribute names based on the prop type. See `#typescript.preferences.quoteStyle#` to control the type of quotes used for string attributes.",
"Insert `={}` after attribute names.",
"Only insert attribute names."
],
"default": "auto",
"description": "Preferred style for JSX attribute completions.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.jsxAttributeCompletionStyle#` instead."
},
"js/ts.preferences.includePackageJsonAutoImports": {
"type": "string",
"enum": [
"auto",
"on",
"off"
],
"enumDescriptions": [
"Search dependencies based on estimated performance impact.",
"Always search dependencies.",
"Never search dependencies."
],
"default": "auto",
"markdownDescription": "Enable/disable searching `package.json` dependencies for available auto imports."
},
"typescript.preferences.includePackageJsonAutoImports": {
"type": "string",
"enum": [
"auto",
"on",
"off"
],
"enumDescriptions": [
"Search dependencies based on estimated performance impact.",
"Always search dependencies.",
"Never search dependencies."
],
"default": "auto",
"markdownDescription": "Enable/disable searching `package.json` dependencies for available auto imports.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.includePackageJsonAutoImports#` instead."
},
"js/ts.preferences.autoImportFileExcludePatterns": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"markdownDescription": "Specify glob patterns of files to exclude from auto imports. Relative paths are resolved relative to the workspace root. Patterns are evaluated using tsconfig.json [`exclude`](https://www.typescriptlang.org/tsconfig#exclude) semantics.",
"default": null
},
"javascript.preferences.autoImportFileExcludePatterns": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"markdownDescription": "Specify glob patterns of files to exclude from auto imports. Relative paths are resolved relative to the workspace root. Patterns are evaluated using tsconfig.json [`exclude`](https://www.typescriptlang.org/tsconfig#exclude) semantics.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.autoImportFileExcludePatterns#` instead.",
"default": null
},
"typescript.preferences.autoImportFileExcludePatterns": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"markdownDescription": "Specify glob patterns of files to exclude from auto imports. Relative paths are resolved relative to the workspace root. Patterns are evaluated using tsconfig.json [`exclude`](https://www.typescriptlang.org/tsconfig#exclude) semantics.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.autoImportFileExcludePatterns#` instead.",
"default": null
},
"js/ts.preferences.autoImportSpecifierExcludeRegexes": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"markdownDescription": "Specify regular expressions to exclude auto imports with matching import specifiers. Examples:\n\n- `^node:`\n- `lib/internal` (slashes don't need to be escaped...)\n- `/lib\\/internal/i` (...unless including surrounding slashes for `i` or `u` flags)\n- `^lodash$` (only allow subpath imports from lodash)",
"default": null
},
"javascript.preferences.autoImportSpecifierExcludeRegexes": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"markdownDescription": "Specify regular expressions to exclude auto imports with matching import specifiers. Examples:\n\n- `^node:`\n- `lib/internal` (slashes don't need to be escaped...)\n- `/lib\\/internal/i` (...unless including surrounding slashes for `i` or `u` flags)\n- `^lodash$` (only allow subpath imports from lodash)",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.autoImportSpecifierExcludeRegexes#` instead.",
"default": null
},
"typescript.preferences.autoImportSpecifierExcludeRegexes": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"markdownDescription": "Specify regular expressions to exclude auto imports with matching import specifiers. Examples:\n\n- `^node:`\n- `lib/internal` (slashes don't need to be escaped...)\n- `/lib\\/internal/i` (...unless including surrounding slashes for `i` or `u` flags)\n- `^lodash$` (only allow subpath imports from lodash)",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.autoImportSpecifierExcludeRegexes#` instead.",
"default": null
},
"js/ts.preferences.preferTypeOnlyAutoImports": {
"type": "boolean",
"default": false,
"markdownDescription": "Include the `type` keyword in auto-imports whenever possible. Requires using TypeScript 5.3+ in the workspace."
},
"typescript.preferences.preferTypeOnlyAutoImports": {
"type": "boolean",
"default": false,
"markdownDescription": "Include the `type` keyword in auto-imports whenever possible. Requires using TypeScript 5.3+ in the workspace.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.preferTypeOnlyAutoImports#` instead."
},
"js/ts.preferences.useAliasesForRenames": {
"type": "boolean",
"default": true,
"description": "Enable/disable introducing aliases for object shorthand properties during renames."
},
"javascript.preferences.useAliasesForRenames": {
"type": "boolean",
"default": true,
"description": "Enable/disable introducing aliases for object shorthand properties during renames.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.useAliasesForRenames#` instead."
},
"typescript.preferences.useAliasesForRenames": {
"type": "boolean",
"default": true,
"description": "Enable/disable introducing aliases for object shorthand properties during renames.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.useAliasesForRenames#` instead."
},
"js/ts.preferences.renameMatchingJsxTags": {
"type": "boolean",
"default": true,
"description": "When on a JSX tag, try to rename the matching tag instead of renaming the symbol. Requires using TypeScript 5.1+ in the workspace."
},
"javascript.preferences.renameMatchingJsxTags": {
"type": "boolean",
"default": true,
"description": "When on a JSX tag, try to rename the matching tag instead of renaming the symbol. Requires using TypeScript 5.1+ in the workspace.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.renameMatchingJsxTags#` instead."
},
"typescript.preferences.renameMatchingJsxTags": {
"type": "boolean",
"default": true,
"description": "When on a JSX tag, try to rename the matching tag instead of renaming the symbol. Requires using TypeScript 5.1+ in the workspace.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.renameMatchingJsxTags#` instead."
},
"js/ts.preferences.organizeImports": {
"type": [
"object",
"null"
],
"markdownDescription": "Advanced preferences that control how imports are ordered.",
"properties": {
"caseSensitivity": {
"type": "string",
"markdownDescription": "Specifies how imports should be sorted with regards to case-sensitivity. If `auto` or unspecified, we will detect the case-sensitivity per file",
"enum": [
"auto",
"caseInsensitive",
"caseSensitive"
],
"markdownEnumDescriptions": [
"Detect case-sensitivity for import sorting.",
"Sort imports case-insensitively.",
"Sort imports case-sensitively."
],
"default": "auto"
},
"typeOrder": {
"type": "string",
"markdownDescription": "Specify how type-only named imports should be sorted.",
"enum": [
"auto",
"last",
"inline",
"first"
],
"default": "auto",
"markdownEnumDescriptions": [
"Detect where type-only named imports should be sorted.",
"Type only named imports are sorted to the end of the import list. E.g. `import { B, Z, type A, type Y } from 'module';`",
"Named imports are sorted by name only. E.g. `import { type A, B, type Y, Z } from 'module';`",
"Type only named imports are sorted to the beginning of the import list. E.g. `import { type A, type Y, B, Z } from 'module';`"
]
},
"unicodeCollation": {
"type": "string",
"markdownDescription": "Specify whether to sort imports using Unicode or Ordinal collation.",
"enum": [
"ordinal",
"unicode"
],
"markdownEnumDescriptions": [
"Sort imports using the numeric value of each code point.",
"Sort imports using the Unicode code collation."
],
"default": "ordinal"
},
"locale": {
"type": "string",
"markdownDescription": "Requires `organizeImports.unicodeCollation: 'unicode'`. Overrides the locale used for collation. Specify `auto` to use the UI locale."
},
"numericCollation": {
"type": "boolean",
"markdownDescription": "Requires `organizeImports.unicodeCollation: 'unicode'`. Sort numeric strings by integer value."
},
"accentCollation": {
"type": "boolean",
"markdownDescription": "Requires `organizeImports.unicodeCollation: 'unicode'`. Compare characters with diacritical marks as unequal to base character."
},
"caseFirst": {
"type": "string",
"markdownDescription": "Requires `organizeImports.unicodeCollation: 'unicode'`, and `organizeImports.caseSensitivity` is not `caseInsensitive`. Indicates whether upper-case will sort before lower-case.",
"enum": [
"default",
"upper",
"lower"
],
"markdownEnumDescriptions": [
"Default order given by `locale`.",
"Upper-case comes before lower-case. E.g. ` A, a, B, b`.",
"Lower-case comes before upper-case. E.g.` a, A, z, Z`."
],
"default": "default"
}
},
"default": null
},
"javascript.preferences.organizeImports": {
"type": [
"object",
"null"
],
"markdownDescription": "Advanced preferences that control how imports are ordered.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.organizeImports#` instead.",
"properties": {
"caseSensitivity": {
"type": "string",
"markdownDescription": "Specifies how imports should be sorted with regards to case-sensitivity. If `auto` or unspecified, we will detect the case-sensitivity per file",
"enum": [
"auto",
"caseInsensitive",
"caseSensitive"
],
"markdownEnumDescriptions": [
"Detect case-sensitivity for import sorting.",
"Sort imports case-insensitively.",
"Sort imports case-sensitively."
],
"default": "auto"
},
"typeOrder": {
"type": "string",
"markdownDescription": "Specify how type-only named imports should be sorted.",
"enum": [
"auto",
"last",
"inline",
"first"
],
"default": "auto",
"markdownEnumDescriptions": [
"Detect where type-only named imports should be sorted.",
"Type only named imports are sorted to the end of the import list. E.g. `import { B, Z, type A, type Y } from 'module';`",
"Named imports are sorted by name only. E.g. `import { type A, B, type Y, Z } from 'module';`",
"Type only named imports are sorted to the beginning of the import list. E.g. `import { type A, type Y, B, Z } from 'module';`"
]
},
"unicodeCollation": {
"type": "string",
"markdownDescription": "Specify whether to sort imports using Unicode or Ordinal collation.",
"enum": [
"ordinal",
"unicode"
],
"markdownEnumDescriptions": [
"Sort imports using the numeric value of each code point.",
"Sort imports using the Unicode code collation."
],
"default": "ordinal"
},
"locale": {
"type": "string",
"markdownDescription": "Requires `organizeImports.unicodeCollation: 'unicode'`. Overrides the locale used for collation. Specify `auto` to use the UI locale."
},
"numericCollation": {
"type": "boolean",
"markdownDescription": "Requires `organizeImports.unicodeCollation: 'unicode'`. Sort numeric strings by integer value."
},
"accentCollation": {
"type": "boolean",
"markdownDescription": "Requires `organizeImports.unicodeCollation: 'unicode'`. Compare characters with diacritical marks as unequal to base character."
},
"caseFirst": {
"type": "string",
"markdownDescription": "Requires `organizeImports.unicodeCollation: 'unicode'`, and `organizeImports.caseSensitivity` is not `caseInsensitive`. Indicates whether upper-case will sort before lower-case.",
"enum": [
"default",
"upper",
"lower"
],
"markdownEnumDescriptions": [
"Default order given by `locale`.",
"Upper-case comes before lower-case. E.g. ` A, a, B, b`.",
"Lower-case comes before upper-case. E.g.` a, A, z, Z`."
],
"default": "default"
}
},
"default": null
},
"typescript.preferences.organizeImports": {
"type": [
"object",
"null"
],
"markdownDescription": "Advanced preferences that control how imports are ordered.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.preferences.organizeImports#` instead.",
"properties": {
"caseSensitivity": {
"type": "string",
"markdownDescription": "Specifies how imports should be sorted with regards to case-sensitivity. If `auto` or unspecified, we will detect the case-sensitivity per file",
"enum": [
"auto",
"caseInsensitive",
"caseSensitive"
],
"markdownEnumDescriptions": [
"Detect case-sensitivity for import sorting.",
"%typescript.preferences.organizeImports.caseSensitivity.insensitive",
"Sort imports case-sensitively."
],
"default": "auto"
},
"typeOrder": {
"type": "string",
"markdownDescription": "Specify how type-only named imports should be sorted.",
"enum": [
"auto",
"last",
"inline",
"first"
],
"default": "auto",
"markdownEnumDescriptions": [
"Detect where type-only named imports should be sorted.",
"Type only named imports are sorted to the end of the import list. E.g. `import { B, Z, type A, type Y } from 'module';`",
"Named imports are sorted by name only. E.g. `import { type A, B, type Y, Z } from 'module';`",
"Type only named imports are sorted to the beginning of the import list. E.g. `import { type A, type Y, B, Z } from 'module';`"
]
},
"unicodeCollation": {
"type": "string",
"markdownDescription": "Specify whether to sort imports using Unicode or Ordinal collation.",
"enum": [
"ordinal",
"unicode"
],
"markdownEnumDescriptions": [
"Sort imports using the numeric value of each code point.",
"Sort imports using the Unicode code collation."
],
"default": "ordinal"
},
"locale": {
"type": "string",
"markdownDescription": "Requires `organizeImports.unicodeCollation: 'unicode'`. Overrides the locale used for collation. Specify `auto` to use the UI locale."
},
"numericCollation": {
"type": "boolean",
"markdownDescription": "Requires `organizeImports.unicodeCollation: 'unicode'`. Sort numeric strings by integer value."
},
"accentCollation": {
"type": "boolean",
"markdownDescription": "Requires `organizeImports.unicodeCollation: 'unicode'`. Compare characters with diacritical marks as unequal to base character."
},
"caseFirst": {
"type": "string",
"markdownDescription": "Requires `organizeImports.unicodeCollation: 'unicode'`, and `organizeImports.caseSensitivity` is not `caseInsensitive`. Indicates whether upper-case will sort before lower-case.",
"enum": [
"default",
"upper",
"lower"
],
"markdownEnumDescriptions": [
"Default order given by `locale`.",
"Upper-case comes before lower-case. E.g. ` A, a, B, b`.",
"Lower-case comes before upper-case. E.g.` a, A, z, Z`."
],
"default": "default"
}
},
"default": null
},
"js/ts.format.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the default JavaScript and TypeScript formatter."
},
"javascript.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable default JavaScript formatter.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.enabled#` instead."
},
"typescript.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable default TypeScript formatter.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.enabled#` instead."
},
"js/ts.format.insertSpaceAfterCommaDelimiter": {
"type": "boolean",
"default": true,
"description": "Defines space handling after a comma delimiter."
},
"javascript.format.insertSpaceAfterCommaDelimiter": {
"type": "boolean",
"default": true,
"description": "Defines space handling after a comma delimiter.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterCommaDelimiter#` instead."
},
"typescript.format.insertSpaceAfterCommaDelimiter": {
"type": "boolean",
"default": true,
"description": "Defines space handling after a comma delimiter.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterCommaDelimiter#` instead."
},
"js/ts.format.insertSpaceAfterConstructor": {
"type": "boolean",
"default": false,
"description": "Defines space handling after the constructor keyword."
},
"javascript.format.insertSpaceAfterConstructor": {
"type": "boolean",
"default": false,
"description": "Defines space handling after the constructor keyword.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterConstructor#` instead."
},
"typescript.format.insertSpaceAfterConstructor": {
"type": "boolean",
"default": false,
"description": "Defines space handling after the constructor keyword.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterConstructor#` instead."
},
"js/ts.format.insertSpaceAfterSemicolonInForStatements": {
"type": "boolean",
"default": true,
"description": "Defines space handling after a semicolon in a for statement."
},
"javascript.format.insertSpaceAfterSemicolonInForStatements": {
"type": "boolean",
"default": true,
"description": "Defines space handling after a semicolon in a for statement.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterSemicolonInForStatements#` instead."
},
"typescript.format.insertSpaceAfterSemicolonInForStatements": {
"type": "boolean",
"default": true,
"description": "Defines space handling after a semicolon in a for statement.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterSemicolonInForStatements#` instead."
},
"js/ts.format.insertSpaceBeforeAndAfterBinaryOperators": {
"type": "boolean",
"default": true,
"description": "Defines space handling after a binary operator."
},
"javascript.format.insertSpaceBeforeAndAfterBinaryOperators": {
"type": "boolean",
"default": true,
"description": "Defines space handling after a binary operator.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceBeforeAndAfterBinaryOperators#` instead."
},
"typescript.format.insertSpaceBeforeAndAfterBinaryOperators": {
"type": "boolean",
"default": true,
"description": "Defines space handling after a binary operator.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceBeforeAndAfterBinaryOperators#` instead."
},
"js/ts.format.insertSpaceAfterKeywordsInControlFlowStatements": {
"type": "boolean",
"default": true,
"description": "Defines space handling after keywords in a control flow statement."
},
"javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": {
"type": "boolean",
"default": true,
"description": "Defines space handling after keywords in a control flow statement.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterKeywordsInControlFlowStatements#` instead."
},
"typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": {
"type": "boolean",
"default": true,
"description": "Defines space handling after keywords in a control flow statement.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterKeywordsInControlFlowStatements#` instead."
},
"js/ts.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": {
"type": "boolean",
"default": true,
"description": "Defines space handling after function keyword for anonymous functions."
},
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": {
"type": "boolean",
"default": true,
"description": "Defines space handling after function keyword for anonymous functions.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions#` instead."
},
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": {
"type": "boolean",
"default": true,
"description": "Defines space handling after function keyword for anonymous functions.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions#` instead."
},
"js/ts.format.insertSpaceBeforeFunctionParenthesis": {
"type": "boolean",
"default": false,
"description": "Defines space handling before function argument parentheses."
},
"javascript.format.insertSpaceBeforeFunctionParenthesis": {
"type": "boolean",
"default": false,
"description": "Defines space handling before function argument parentheses.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceBeforeFunctionParenthesis#` instead."
},
"typescript.format.insertSpaceBeforeFunctionParenthesis": {
"type": "boolean",
"default": false,
"description": "Defines space handling before function argument parentheses.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceBeforeFunctionParenthesis#` instead."
},
"js/ts.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": {
"type": "boolean",
"default": false,
"description": "Defines space handling after opening and before closing non-empty parenthesis."
},
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": {
"type": "boolean",
"default": false,
"description": "Defines space handling after opening and before closing non-empty parenthesis.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis#` instead."
},
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": {
"type": "boolean",
"default": false,
"description": "Defines space handling after opening and before closing non-empty parenthesis.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis#` instead."
},
"js/ts.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": {
"type": "boolean",
"default": false,
"description": "Defines space handling after opening and before closing non-empty brackets."
},
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": {
"type": "boolean",
"default": false,
"description": "Defines space handling after opening and before closing non-empty brackets.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets#` instead."
},
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": {
"type": "boolean",
"default": false,
"description": "Defines space handling after opening and before closing non-empty brackets.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets#` instead."
},
"js/ts.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": {
"type": "boolean",
"default": true,
"description": "Defines space handling after opening and before closing non-empty braces."
},
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": {
"type": "boolean",
"default": true,
"description": "Defines space handling after opening and before closing non-empty braces.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces#` instead."
},
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": {
"type": "boolean",
"default": true,
"description": "Defines space handling after opening and before closing non-empty braces.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces#` instead."
},
"js/ts.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": {
"type": "boolean",
"default": true,
"description": "Defines space handling after opening and before closing empty braces."
},
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": {
"type": "boolean",
"default": true,
"description": "Defines space handling after opening and before closing empty braces.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces#` instead."
},
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": {
"type": "boolean",
"default": true,
"description": "Defines space handling after opening and before closing empty braces.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces#` instead."
},
"js/ts.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": {
"type": "boolean",
"default": false,
"description": "Defines space handling after opening and before closing template string braces."
},
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": {
"type": "boolean",
"default": false,
"description": "Defines space handling after opening and before closing template string braces.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces#` instead."
},
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": {
"type": "boolean",
"default": false,
"description": "Defines space handling after opening and before closing template string braces.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces#` instead."
},
"js/ts.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": {
"type": "boolean",
"default": false,
"description": "Defines space handling after opening and before closing JSX expression braces."
},
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": {
"type": "boolean",
"default": false,
"description": "Defines space handling after opening and before closing JSX expression braces.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces#` instead."
},
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": {
"type": "boolean",
"default": false,
"description": "Defines space handling after opening and before closing JSX expression braces.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces#` instead."
},
"js/ts.format.insertSpaceAfterTypeAssertion": {
"type": "boolean",
"default": false,
"description": "Defines space handling after type assertions in TypeScript."
},
"typescript.format.insertSpaceAfterTypeAssertion": {
"type": "boolean",
"default": false,
"description": "Defines space handling after type assertions in TypeScript.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.insertSpaceAfterTypeAssertion#` instead."
},
"js/ts.format.placeOpenBraceOnNewLineForFunctions": {
"type": "boolean",
"default": false,
"description": "Defines whether an open brace is put onto a new line for functions or not."
},
"javascript.format.placeOpenBraceOnNewLineForFunctions": {
"type": "boolean",
"default": false,
"description": "Defines whether an open brace is put onto a new line for functions or not.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.placeOpenBraceOnNewLineForFunctions#` instead."
},
"typescript.format.placeOpenBraceOnNewLineForFunctions": {
"type": "boolean",
"default": false,
"description": "Defines whether an open brace is put onto a new line for functions or not.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.placeOpenBraceOnNewLineForFunctions#` instead."
},
"js/ts.format.placeOpenBraceOnNewLineForControlBlocks": {
"type": "boolean",
"default": false,
"description": "Defines whether an open brace is put onto a new line for control blocks or not."
},
"javascript.format.placeOpenBraceOnNewLineForControlBlocks": {
"type": "boolean",
"default": false,
"description": "Defines whether an open brace is put onto a new line for control blocks or not.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.placeOpenBraceOnNewLineForControlBlocks#` instead."
},
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": {
"type": "boolean",
"default": false,
"description": "Defines whether an open brace is put onto a new line for control blocks or not.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.placeOpenBraceOnNewLineForControlBlocks#` instead."
},
"js/ts.format.semicolons": {
"type": "string",
"default": "ignore",
"description": "Defines handling of optional semicolons.",
"enum": [
"ignore",
"insert",
"remove"
],
"enumDescriptions": [
"Don't insert or remove any semicolons.",
"Insert semicolons at statement ends.",
"Remove unnecessary semicolons."
]
},
"javascript.format.semicolons": {
"type": "string",
"default": "ignore",
"description": "Defines handling of optional semicolons.",
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.format.semicolons#` instead.",
"enum": [