about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/editors/code/package.json
blob: cfaf421327753e09270446ac9794ed0da147932c (plain)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
{
    "name": "rust-analyzer",
    "displayName": "rust-analyzer",
    "description": "Rust language support for Visual Studio Code",
    "private": true,
    "icon": "icon.png",
    "version": "0.5.0-dev",
    "releaseTag": null,
    "publisher": "rust-lang",
    "repository": {
        "url": "https://github.com/rust-lang/rust-analyzer.git",
        "type": "git"
    },
    "homepage": "https://rust-analyzer.github.io/",
    "license": "MIT OR Apache-2.0",
    "keywords": [
        "rust"
    ],
    "categories": [
        "Formatters",
        "Programming Languages"
    ],
    "capabilities": {
        "untrustedWorkspaces": {
            "supported": false,
            "description": "rust-analyzer invokes binaries set up by its configuration as well as the Rust toolchain's binaries. A malicious actor could exploit this to run arbitrary code on your machine."
        }
    },
    "engines": {
        "vscode": "^1.78.0"
    },
    "enabledApiProposals": [],
    "scripts": {
        "vscode:prepublish": "npm run build-base -- --minify",
        "package": "vsce package -o rust-analyzer.vsix",
        "build-base": "esbuild ./src/main.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --target=node16",
        "build": "npm run build-base -- --sourcemap",
        "watch": "npm run build-base -- --sourcemap --watch",
        "format": "prettier --write .",
        "format:check": "prettier --check .",
        "lint": "eslint -c .eslintrc.js --ext ts ./src ./tests",
        "lint:fix": "npm run lint -- --fix",
        "typecheck": "tsc",
        "pretest": "npm run typecheck && npm run build",
        "test": "node ./out/tests/runTests.js"
    },
    "dependencies": {
        "@hpcc-js/wasm": "^2.13.0",
        "anser": "^2.1.1",
        "d3": "^7.8.5",
        "d3-graphviz": "^5.0.2",
        "vscode-languageclient": "^8.1.0"
    },
    "devDependencies": {
        "@tsconfig/strictest": "^2.0.1",
        "@types/node": "~16.11.7",
        "@types/vscode": "~1.78.1",
        "@typescript-eslint/eslint-plugin": "^6.0.0",
        "@typescript-eslint/parser": "^6.0.0",
        "@vscode/test-electron": "^2.3.3",
        "@vscode/vsce": "^2.19.0",
        "esbuild": "^0.18.12",
        "eslint": "^8.44.0",
        "eslint-config-prettier": "^8.8.0",
        "ovsx": "^0.8.2",
        "prettier": "^3.0.0",
        "tslib": "^2.6.0",
        "typescript": "^5.1.6"
    },
    "activationEvents": [
        "workspaceContains:*/Cargo.toml",
        "workspaceContains:*/rust-project.json"
    ],
    "main": "./out/main",
    "contributes": {
        "taskDefinitions": [
            {
                "type": "cargo",
                "required": [
                    "command"
                ],
                "properties": {
                    "label": {
                        "type": "string"
                    },
                    "command": {
                        "type": "string"
                    },
                    "args": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "env": {
                        "type": "object",
                        "patternProperties": {
                            ".+": {
                                "type": "string"
                            }
                        }
                    }
                }
            }
        ],
        "commands": [
            {
                "command": "rust-analyzer.syntaxTree",
                "title": "Show Syntax Tree",
                "category": "rust-analyzer (debug command)"
            },
            {
                "command": "rust-analyzer.viewHir",
                "title": "View Hir",
                "category": "rust-analyzer (debug command)"
            },
            {
                "command": "rust-analyzer.viewMir",
                "title": "View Mir",
                "category": "rust-analyzer (debug command)"
            },
            {
                "command": "rust-analyzer.interpretFunction",
                "title": "Interpret Function",
                "category": "rust-analyzer (debug command)"
            },
            {
                "command": "rust-analyzer.viewFileText",
                "title": "View File Text (as seen by the server)",
                "category": "rust-analyzer (debug command)"
            },
            {
                "command": "rust-analyzer.viewItemTree",
                "title": "Debug ItemTree",
                "category": "rust-analyzer (debug command)"
            },
            {
                "command": "rust-analyzer.shuffleCrateGraph",
                "title": "Shuffle Crate Graph",
                "category": "rust-analyzer (debug command)"
            },
            {
                "command": "rust-analyzer.memoryUsage",
                "title": "Memory Usage (Clears Database)",
                "category": "rust-analyzer (debug command)"
            },
            {
                "command": "rust-analyzer.viewCrateGraph",
                "title": "View Crate Graph",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.viewFullCrateGraph",
                "title": "View Crate Graph (Full)",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.expandMacro",
                "title": "Expand macro recursively at caret",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.matchingBrace",
                "title": "Find matching brace",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.parentModule",
                "title": "Locate parent module",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.joinLines",
                "title": "Join lines",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.run",
                "title": "Run",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.copyRunCommandLine",
                "title": "Copy Run Command Line",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.debug",
                "title": "Debug",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.newDebugConfig",
                "title": "Generate launch configuration",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.analyzerStatus",
                "title": "Status",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.reloadWorkspace",
                "title": "Reload workspace",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.rebuildProcMacros",
                "title": "Rebuild proc macros and build scripts",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.restartServer",
                "title": "Restart server",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.startServer",
                "title": "Start server",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.stopServer",
                "title": "Stop server",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.onEnter",
                "title": "Enhanced enter key",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.ssr",
                "title": "Structural Search Replace",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.serverVersion",
                "title": "Show RA Version",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.openDocs",
                "title": "Open Docs",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.openExternalDocs",
                "title": "Open External Docs",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.openCargoToml",
                "title": "Open Cargo.toml",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.peekTests",
                "title": "Peek Related Tests",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.moveItemUp",
                "title": "Move Item Up",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.moveItemDown",
                "title": "Move Item Down",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.cancelFlycheck",
                "title": "Cancel running flychecks",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.runFlycheck",
                "title": "Run flycheck",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.clearFlycheck",
                "title": "Clear flycheck diagnostics",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.revealDependency",
                "title": "Reveal File",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.viewMemoryLayout",
                "title": "View Memory Layout",
                "category": "rust-analyzer"
            },
            {
                "command": "rust-analyzer.toggleCheckOnSave",
                "title": "Toggle Check on Save",
                "category": "rust-analyzer"
            }
        ],
        "keybindings": [
            {
                "command": "rust-analyzer.parentModule",
                "key": "ctrl+shift+u",
                "when": "editorTextFocus && editorLangId == rust"
            },
            {
                "command": "rust-analyzer.joinLines",
                "key": "ctrl+shift+j",
                "when": "editorTextFocus && editorLangId == rust"
            }
        ],
        "configuration": {
            "type": "object",
            "title": "rust-analyzer",
            "properties": {
                "rust-analyzer.cargoRunner": {
                    "type": [
                        "null",
                        "string"
                    ],
                    "default": null,
                    "description": "Custom cargo runner extension ID."
                },
                "rust-analyzer.runnables.extraEnv": {
                    "anyOf": [
                        {
                            "type": "null"
                        },
                        {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "properties": {
                                    "platform": {
                                        "type": [
                                            "null",
                                            "string",
                                            "array"
                                        ],
                                        "default": null,
                                        "markdownDescription": "Platform(s) filter like \"win32\" or [\"linux\", \"win32\"]. See [process.platform](https://nodejs.org/api/process.html#processplatform) values."
                                    },
                                    "mask": {
                                        "type": "string",
                                        "description": "Runnable name mask"
                                    },
                                    "env": {
                                        "type": "object",
                                        "description": "Variables in form of { \"key\": \"value\"}"
                                    }
                                }
                            }
                        },
                        {
                            "type": "object",
                            "description": "Variables in form of { \"key\": \"value\"}"
                        }
                    ],
                    "default": null,
                    "markdownDescription": "Environment variables passed to the runnable launched using `Test` or `Debug` lens or `rust-analyzer.run` command."
                },
                "rust-analyzer.runnables.problemMatcher": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "default": [
                        "$rustc"
                    ],
                    "markdownDescription": "Problem matchers to use for `rust-analyzer.run` command, eg `[\"$rustc\", \"$rust-panic\"]`."
                },
                "rust-analyzer.statusBar.clickAction": {
                    "type": "string",
                    "enum": [
                        "stopServer",
                        "openLogs"
                    ],
                    "enumDescriptions": [
                        "Stop Server",
                        "Open Logs"
                    ],
                    "default": "openLogs",
                    "markdownDescription": "Action to run when clicking the extension status bar item."
                },
                "rust-analyzer.server.path": {
                    "type": [
                        "null",
                        "string"
                    ],
                    "scope": "machine-overridable",
                    "default": null,
                    "markdownDescription": "Path to rust-analyzer executable (points to bundled binary by default)."
                },
                "rust-analyzer.server.extraEnv": {
                    "type": [
                        "null",
                        "object"
                    ],
                    "additionalProperties": {
                        "type": [
                            "string",
                            "number"
                        ]
                    },
                    "default": null,
                    "markdownDescription": "Extra environment variables that will be passed to the rust-analyzer executable. Useful for passing e.g. `RA_LOG` for debugging."
                },
                "rust-analyzer.trace.server": {
                    "type": "string",
                    "scope": "window",
                    "enum": [
                        "off",
                        "messages",
                        "verbose"
                    ],
                    "enumDescriptions": [
                        "No traces",
                        "Error only",
                        "Full log"
                    ],
                    "default": "off",
                    "description": "Trace requests to the rust-analyzer (this is usually overly verbose and not recommended for regular users)."
                },
                "rust-analyzer.trace.extension": {
                    "description": "Enable logging of VS Code extensions itself.",
                    "type": "boolean",
                    "default": false
                },
                "rust-analyzer.debug.engine": {
                    "type": "string",
                    "enum": [
                        "auto",
                        "vadimcn.vscode-lldb",
                        "ms-vscode.cpptools"
                    ],
                    "default": "auto",
                    "description": "Preferred debug engine.",
                    "markdownEnumDescriptions": [
                        "First try to use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb), if it's not installed try to use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools).",
                        "Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)",
                        "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)"
                    ]
                },
                "rust-analyzer.debug.sourceFileMap": {
                    "type": [
                        "object",
                        "string"
                    ],
                    "const": "auto",
                    "description": "Optional source file mappings passed to the debug engine.",
                    "default": {
                        "/rustc/<id>": "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust"
                    }
                },
                "rust-analyzer.debug.openDebugPane": {
                    "markdownDescription": "Whether to open up the `Debug Panel` on debugging start.",
                    "type": "boolean",
                    "default": false
                },
                "rust-analyzer.debug.engineSettings": {
                    "type": "object",
                    "default": {},
                    "markdownDescription": "Optional settings passed to the debug engine. Example: `{ \"lldb\": { \"terminal\":\"external\"} }`"
                },
                "rust-analyzer.restartServerOnConfigChange": {
                    "markdownDescription": "Whether to restart the server automatically when certain settings that require a restart are changed.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.typing.continueCommentsOnNewline": {
                    "markdownDescription": "Whether to prefix newlines after comments with the corresponding comment prefix.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.diagnostics.previewRustcOutput": {
                    "markdownDescription": "Whether to show the main part of the rendered rustc output of a diagnostic message.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.diagnostics.useRustcErrorCode": {
                    "markdownDescription": "Whether to show diagnostics using the original rustc error code. If this is false, all rustc diagnostics will have the code 'rustc(Click for full compiler diagnostics)'",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.discoverProjectRunner": {
                    "markdownDescription": "Sets the extension responsible for determining which extension the rust-analyzer extension uses to generate `rust-project.json` files. This should should only be used\n if a build system like Buck or Bazel is also in use.",
                    "default": null,
                    "type": [
                        "null",
                        "string"
                    ]
                },
                "rust-analyzer.showUnlinkedFileNotification": {
                    "markdownDescription": "Whether to show a notification for unlinked files asking the user to add the corresponding Cargo.toml to the linked projects setting.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.showRequestFailedErrorNotification": {
                    "markdownDescription": "Whether to show error notifications for failing requests.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.showDependenciesExplorer": {
                    "markdownDescription": "Whether to show the dependencies view.",
                    "default": true,
                    "type": "boolean"
                },
                "$generated-start": {},
                "rust-analyzer.assist.emitMustUse": {
                    "markdownDescription": "Whether to insert #[must_use] when generating `as_` methods\nfor enum variants.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.assist.expressionFillDefault": {
                    "markdownDescription": "Placeholder expression to use for missing expressions in assists.",
                    "default": "todo",
                    "type": "string",
                    "enum": [
                        "todo",
                        "default"
                    ],
                    "enumDescriptions": [
                        "Fill missing expressions with the `todo` macro",
                        "Fill missing expressions with reasonable defaults, `new` or `default` constructors."
                    ]
                },
                "rust-analyzer.cachePriming.enable": {
                    "markdownDescription": "Warm up caches on project load.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.cachePriming.numThreads": {
                    "markdownDescription": "How many worker threads to handle priming caches. The default `0` means to pick automatically.",
                    "default": 0,
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                },
                "rust-analyzer.cargo.autoreload": {
                    "markdownDescription": "Automatically refresh project info via `cargo metadata` on\n`Cargo.toml` or `.cargo/config.toml` changes.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.cargo.buildScripts.enable": {
                    "markdownDescription": "Run build scripts (`build.rs`) for more precise code analysis.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.cargo.buildScripts.invocationLocation": {
                    "markdownDescription": "Specifies the working directory for running build scripts.\n- \"workspace\": run build scripts for a workspace in the workspace's root directory.\n    This is incompatible with `#rust-analyzer.cargo.buildScripts.invocationStrategy#` set to `once`.\n- \"root\": run build scripts in the project's root directory.\nThis config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#`\nis set.",
                    "default": "workspace",
                    "type": "string",
                    "enum": [
                        "workspace",
                        "root"
                    ],
                    "enumDescriptions": [
                        "The command will be executed in the corresponding workspace root.",
                        "The command will be executed in the project root."
                    ]
                },
                "rust-analyzer.cargo.buildScripts.invocationStrategy": {
                    "markdownDescription": "Specifies the invocation strategy to use when running the build scripts command.\nIf `per_workspace` is set, the command will be executed for each workspace.\nIf `once` is set, the command will be executed once.\nThis config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#`\nis set.",
                    "default": "per_workspace",
                    "type": "string",
                    "enum": [
                        "per_workspace",
                        "once"
                    ],
                    "enumDescriptions": [
                        "The command will be executed for each workspace.",
                        "The command will be executed once."
                    ]
                },
                "rust-analyzer.cargo.buildScripts.overrideCommand": {
                    "markdownDescription": "Override the command rust-analyzer uses to run build scripts and\nbuild procedural macros. The command is required to output json\nand should therefore include `--message-format=json` or a similar\noption.\n\nIf there are multiple linked projects/workspaces, this command is invoked for\neach of them, with the working directory being the workspace root\n(i.e., the folder containing the `Cargo.toml`). This can be overwritten\nby changing `#rust-analyzer.cargo.buildScripts.invocationStrategy#` and\n`#rust-analyzer.cargo.buildScripts.invocationLocation#`.\n\nBy default, a cargo invocation will be constructed for the configured\ntargets and features, with the following base command line:\n\n```bash\ncargo check --quiet --workspace --message-format=json --all-targets\n```\n.",
                    "default": null,
                    "type": [
                        "null",
                        "array"
                    ],
                    "items": {
                        "type": "string"
                    }
                },
                "rust-analyzer.cargo.buildScripts.useRustcWrapper": {
                    "markdownDescription": "Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to\navoid checking unnecessary things.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.cargo.cfgs": {
                    "markdownDescription": "List of cfg options to enable with the given values.",
                    "default": {},
                    "type": "object"
                },
                "rust-analyzer.cargo.extraArgs": {
                    "markdownDescription": "Extra arguments that are passed to every cargo invocation.",
                    "default": [],
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "rust-analyzer.cargo.extraEnv": {
                    "markdownDescription": "Extra environment variables that will be set when running cargo, rustc\nor other commands within the workspace. Useful for setting RUSTFLAGS.",
                    "default": {},
                    "type": "object"
                },
                "rust-analyzer.cargo.features": {
                    "markdownDescription": "List of features to activate.\n\nSet this to `\"all\"` to pass `--all-features` to cargo.",
                    "default": [],
                    "anyOf": [
                        {
                            "type": "string",
                            "enum": [
                                "all"
                            ],
                            "enumDescriptions": [
                                "Pass `--all-features` to cargo"
                            ]
                        },
                        {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    ]
                },
                "rust-analyzer.cargo.noDefaultFeatures": {
                    "markdownDescription": "Whether to pass `--no-default-features` to cargo.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.cargo.sysroot": {
                    "markdownDescription": "Relative path to the sysroot, or \"discover\" to try to automatically find it via\n\"rustc --print sysroot\".\n\nUnsetting this disables sysroot loading.\n\nThis option does not take effect until rust-analyzer is restarted.",
                    "default": "discover",
                    "type": [
                        "null",
                        "string"
                    ]
                },
                "rust-analyzer.cargo.sysrootSrc": {
                    "markdownDescription": "Relative path to the sysroot library sources. If left unset, this will default to\n`{cargo.sysroot}/lib/rustlib/src/rust/library`.\n\nThis option does not take effect until rust-analyzer is restarted.",
                    "default": null,
                    "type": [
                        "null",
                        "string"
                    ]
                },
                "rust-analyzer.cargo.target": {
                    "markdownDescription": "Compilation target override (target triple).",
                    "default": null,
                    "type": [
                        "null",
                        "string"
                    ]
                },
                "rust-analyzer.cargo.unsetTest": {
                    "markdownDescription": "Unsets the implicit `#[cfg(test)]` for the specified crates.",
                    "default": [
                        "core"
                    ],
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "rust-analyzer.checkOnSave": {
                    "markdownDescription": "Run the check command for diagnostics on save.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.check.allTargets": {
                    "markdownDescription": "Check all targets and tests (`--all-targets`).",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.check.command": {
                    "markdownDescription": "Cargo command to use for `cargo check`.",
                    "default": "check",
                    "type": "string"
                },
                "rust-analyzer.check.extraArgs": {
                    "markdownDescription": "Extra arguments for `cargo check`.",
                    "default": [],
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "rust-analyzer.check.extraEnv": {
                    "markdownDescription": "Extra environment variables that will be set when running `cargo check`.\nExtends `#rust-analyzer.cargo.extraEnv#`.",
                    "default": {},
                    "type": "object"
                },
                "rust-analyzer.check.features": {
                    "markdownDescription": "List of features to activate. Defaults to\n`#rust-analyzer.cargo.features#`.\n\nSet to `\"all\"` to pass `--all-features` to Cargo.",
                    "default": null,
                    "anyOf": [
                        {
                            "type": "string",
                            "enum": [
                                "all"
                            ],
                            "enumDescriptions": [
                                "Pass `--all-features` to cargo"
                            ]
                        },
                        {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        {
                            "type": "null"
                        }
                    ]
                },
                "rust-analyzer.check.ignore": {
                    "markdownDescription": "List of `cargo check` (or other command specified in `check.command`) diagnostics to ignore.\n\nFor example for `cargo check`: `dead_code`, `unused_imports`, `unused_variables`,...",
                    "default": [],
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "uniqueItems": true
                },
                "rust-analyzer.check.invocationLocation": {
                    "markdownDescription": "Specifies the working directory for running checks.\n- \"workspace\": run checks for workspaces in the corresponding workspaces' root directories.\n    This falls back to \"root\" if `#rust-analyzer.cargo.check.invocationStrategy#` is set to `once`.\n- \"root\": run checks in the project's root directory.\nThis config only has an effect when `#rust-analyzer.cargo.check.overrideCommand#`\nis set.",
                    "default": "workspace",
                    "type": "string",
                    "enum": [
                        "workspace",
                        "root"
                    ],
                    "enumDescriptions": [
                        "The command will be executed in the corresponding workspace root.",
                        "The command will be executed in the project root."
                    ]
                },
                "rust-analyzer.check.invocationStrategy": {
                    "markdownDescription": "Specifies the invocation strategy to use when running the check command.\nIf `per_workspace` is set, the command will be executed for each workspace.\nIf `once` is set, the command will be executed once.\nThis config only has an effect when `#rust-analyzer.cargo.check.overrideCommand#`\nis set.",
                    "default": "per_workspace",
                    "type": "string",
                    "enum": [
                        "per_workspace",
                        "once"
                    ],
                    "enumDescriptions": [
                        "The command will be executed for each workspace.",
                        "The command will be executed once."
                    ]
                },
                "rust-analyzer.check.noDefaultFeatures": {
                    "markdownDescription": "Whether to pass `--no-default-features` to Cargo. Defaults to\n`#rust-analyzer.cargo.noDefaultFeatures#`.",
                    "default": null,
                    "type": [
                        "null",
                        "boolean"
                    ]
                },
                "rust-analyzer.check.overrideCommand": {
                    "markdownDescription": "Override the command rust-analyzer uses instead of `cargo check` for\ndiagnostics on save. The command is required to output json and\nshould therefore include `--message-format=json` or a similar option\n(if your client supports the `colorDiagnosticOutput` experimental\ncapability, you can use `--message-format=json-diagnostic-rendered-ansi`).\n\nIf you're changing this because you're using some tool wrapping\nCargo, you might also want to change\n`#rust-analyzer.cargo.buildScripts.overrideCommand#`.\n\nIf there are multiple linked projects/workspaces, this command is invoked for\neach of them, with the working directory being the workspace root\n(i.e., the folder containing the `Cargo.toml`). This can be overwritten\nby changing `#rust-analyzer.cargo.check.invocationStrategy#` and\n`#rust-analyzer.cargo.check.invocationLocation#`.\n\nAn example command would be:\n\n```bash\ncargo check --workspace --message-format=json --all-targets\n```\n.",
                    "default": null,
                    "type": [
                        "null",
                        "array"
                    ],
                    "items": {
                        "type": "string"
                    }
                },
                "rust-analyzer.check.targets": {
                    "markdownDescription": "Check for specific targets. Defaults to `#rust-analyzer.cargo.target#` if empty.\n\nCan be a single target, e.g. `\"x86_64-unknown-linux-gnu\"` or a list of targets, e.g.\n`[\"aarch64-apple-darwin\", \"x86_64-apple-darwin\"]`.\n\nAliased as `\"checkOnSave.targets\"`.",
                    "default": null,
                    "anyOf": [
                        {
                            "type": "null"
                        },
                        {
                            "type": "string"
                        },
                        {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    ]
                },
                "rust-analyzer.completion.autoimport.enable": {
                    "markdownDescription": "Toggles the additional completions that automatically add imports when completed.\nNote that your client must specify the `additionalTextEdits` LSP client capability to truly have this feature enabled.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.completion.autoself.enable": {
                    "markdownDescription": "Toggles the additional completions that automatically show method calls and field accesses\nwith `self` prefixed to them when inside a method.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.completion.callable.snippets": {
                    "markdownDescription": "Whether to add parenthesis and argument snippets when completing function.",
                    "default": "fill_arguments",
                    "type": "string",
                    "enum": [
                        "fill_arguments",
                        "add_parentheses",
                        "none"
                    ],
                    "enumDescriptions": [
                        "Add call parentheses and pre-fill arguments.",
                        "Add call parentheses.",
                        "Do no snippet completions for callables."
                    ]
                },
                "rust-analyzer.completion.fullFunctionSignatures.enable": {
                    "markdownDescription": "Whether to show full function/method signatures in completion docs.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.completion.limit": {
                    "markdownDescription": "Maximum number of completions to return. If `None`, the limit is infinite.",
                    "default": null,
                    "type": [
                        "null",
                        "integer"
                    ],
                    "minimum": 0
                },
                "rust-analyzer.completion.postfix.enable": {
                    "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.completion.privateEditable.enable": {
                    "markdownDescription": "Enables completions of private items and fields that are defined in the current workspace even if they are not visible at the current position.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.completion.snippets.custom": {
                    "markdownDescription": "Custom completion snippets.",
                    "default": {
                        "Arc::new": {
                            "postfix": "arc",
                            "body": "Arc::new(${receiver})",
                            "requires": "std::sync::Arc",
                            "description": "Put the expression into an `Arc`",
                            "scope": "expr"
                        },
                        "Rc::new": {
                            "postfix": "rc",
                            "body": "Rc::new(${receiver})",
                            "requires": "std::rc::Rc",
                            "description": "Put the expression into an `Rc`",
                            "scope": "expr"
                        },
                        "Box::pin": {
                            "postfix": "pinbox",
                            "body": "Box::pin(${receiver})",
                            "requires": "std::boxed::Box",
                            "description": "Put the expression into a pinned `Box`",
                            "scope": "expr"
                        },
                        "Ok": {
                            "postfix": "ok",
                            "body": "Ok(${receiver})",
                            "description": "Wrap the expression in a `Result::Ok`",
                            "scope": "expr"
                        },
                        "Err": {
                            "postfix": "err",
                            "body": "Err(${receiver})",
                            "description": "Wrap the expression in a `Result::Err`",
                            "scope": "expr"
                        },
                        "Some": {
                            "postfix": "some",
                            "body": "Some(${receiver})",
                            "description": "Wrap the expression in an `Option::Some`",
                            "scope": "expr"
                        }
                    },
                    "type": "object"
                },
                "rust-analyzer.diagnostics.disabled": {
                    "markdownDescription": "List of rust-analyzer diagnostics to disable.",
                    "default": [],
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "uniqueItems": true
                },
                "rust-analyzer.diagnostics.enable": {
                    "markdownDescription": "Whether to show native rust-analyzer diagnostics.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.diagnostics.experimental.enable": {
                    "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might\nhave more false positives than usual.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.diagnostics.remapPrefix": {
                    "markdownDescription": "Map of prefixes to be substituted when parsing diagnostic file paths.\nThis should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.",
                    "default": {},
                    "type": "object"
                },
                "rust-analyzer.diagnostics.warningsAsHint": {
                    "markdownDescription": "List of warnings that should be displayed with hint severity.\n\nThe warnings will be indicated by faded text or three dots in code\nand will not show up in the `Problems Panel`.",
                    "default": [],
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "rust-analyzer.diagnostics.warningsAsInfo": {
                    "markdownDescription": "List of warnings that should be displayed with info severity.\n\nThe warnings will be indicated by a blue squiggly underline in code\nand a blue icon in the `Problems Panel`.",
                    "default": [],
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "rust-analyzer.files.excludeDirs": {
                    "markdownDescription": "These directories will be ignored by rust-analyzer. They are\nrelative to the workspace root, and globs are not supported. You may\nalso need to add the folders to Code's `files.watcherExclude`.",
                    "default": [],
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "rust-analyzer.files.watcher": {
                    "markdownDescription": "Controls file watching implementation.",
                    "default": "client",
                    "type": "string",
                    "enum": [
                        "client",
                        "server"
                    ],
                    "enumDescriptions": [
                        "Use the client (editor) to watch files for changes",
                        "Use server-side file watching"
                    ]
                },
                "rust-analyzer.highlightRelated.breakPoints.enable": {
                    "markdownDescription": "Enables highlighting of related references while the cursor is on `break`, `loop`, `while`, or `for` keywords.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.highlightRelated.closureCaptures.enable": {
                    "markdownDescription": "Enables highlighting of all captures of a closure while the cursor is on the `|` or move keyword of a closure.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.highlightRelated.exitPoints.enable": {
                    "markdownDescription": "Enables highlighting of all exit points while the cursor is on any `return`, `?`, `fn`, or return type arrow (`->`).",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.highlightRelated.references.enable": {
                    "markdownDescription": "Enables highlighting of related references while the cursor is on any identifier.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.highlightRelated.yieldPoints.enable": {
                    "markdownDescription": "Enables highlighting of all break points for a loop or block context while the cursor is on any `async` or `await` keywords.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.hover.actions.debug.enable": {
                    "markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.hover.actions.enable": {
                    "markdownDescription": "Whether to show HoverActions in Rust files.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.hover.actions.gotoTypeDef.enable": {
                    "markdownDescription": "Whether to show `Go to Type Definition` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.hover.actions.implementations.enable": {
                    "markdownDescription": "Whether to show `Implementations` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.hover.actions.references.enable": {
                    "markdownDescription": "Whether to show `References` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.hover.actions.run.enable": {
                    "markdownDescription": "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.hover.documentation.enable": {
                    "markdownDescription": "Whether to show documentation on hover.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.hover.documentation.keywords.enable": {
                    "markdownDescription": "Whether to show keyword hover popups. Only applies when\n`#rust-analyzer.hover.documentation.enable#` is set.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.hover.links.enable": {
                    "markdownDescription": "Use markdown syntax for links on hover.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.hover.memoryLayout.alignment": {
                    "markdownDescription": "How to render the align information in a memory layout hover.",
                    "default": "hexadecimal",
                    "anyOf": [
                        {
                            "type": "null"
                        },
                        {
                            "type": "string",
                            "enum": [
                                "both",
                                "decimal",
                                "hexadecimal"
                            ],
                            "enumDescriptions": [
                                "Render as 12 (0xC)",
                                "Render as 12",
                                "Render as 0xC"
                            ]
                        }
                    ]
                },
                "rust-analyzer.hover.memoryLayout.enable": {
                    "markdownDescription": "Whether to show memory layout data on hover.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.hover.memoryLayout.niches": {
                    "markdownDescription": "How to render the niche information in a memory layout hover.",
                    "default": false,
                    "type": [
                        "null",
                        "boolean"
                    ]
                },
                "rust-analyzer.hover.memoryLayout.offset": {
                    "markdownDescription": "How to render the offset information in a memory layout hover.",
                    "default": "hexadecimal",
                    "anyOf": [
                        {
                            "type": "null"
                        },
                        {
                            "type": "string",
                            "enum": [
                                "both",
                                "decimal",
                                "hexadecimal"
                            ],
                            "enumDescriptions": [
                                "Render as 12 (0xC)",
                                "Render as 12",
                                "Render as 0xC"
                            ]
                        }
                    ]
                },
                "rust-analyzer.hover.memoryLayout.size": {
                    "markdownDescription": "How to render the size information in a memory layout hover.",
                    "default": "both",
                    "anyOf": [
                        {
                            "type": "null"
                        },
                        {
                            "type": "string",
                            "enum": [
                                "both",
                                "decimal",
                                "hexadecimal"
                            ],
                            "enumDescriptions": [
                                "Render as 12 (0xC)",
                                "Render as 12",
                                "Render as 0xC"
                            ]
                        }
                    ]
                },
                "rust-analyzer.imports.granularity.enforce": {
                    "markdownDescription": "Whether to enforce the import granularity setting for all files. If set to false rust-analyzer will try to keep import styles consistent per file.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.imports.granularity.group": {
                    "markdownDescription": "How imports should be grouped into use statements.",
                    "default": "crate",
                    "type": "string",
                    "enum": [
                        "preserve",
                        "crate",
                        "module",
                        "item"
                    ],
                    "enumDescriptions": [
                        "Do not change the granularity of any imports and preserve the original structure written by the developer.",
                        "Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements.",
                        "Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements.",
                        "Flatten imports so that each has its own use statement."
                    ]
                },
                "rust-analyzer.imports.group.enable": {
                    "markdownDescription": "Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.imports.merge.glob": {
                    "markdownDescription": "Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.imports.preferNoStd": {
                    "markdownDescription": "Prefer to unconditionally use imports of the core and alloc crate, over the std crate.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.imports.preferPrelude": {
                    "markdownDescription": "Whether to prefer import paths containing a `prelude` module.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.imports.prefix": {
                    "markdownDescription": "The path structure for newly inserted paths to use.",
                    "default": "plain",
                    "type": "string",
                    "enum": [
                        "plain",
                        "self",
                        "crate"
                    ],
                    "enumDescriptions": [
                        "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.",
                        "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item. Prefixes `self` in front of the path if it starts with a module.",
                        "Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from."
                    ]
                },
                "rust-analyzer.inlayHints.bindingModeHints.enable": {
                    "markdownDescription": "Whether to show inlay type hints for binding modes.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.inlayHints.chainingHints.enable": {
                    "markdownDescription": "Whether to show inlay type hints for method chains.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.inlayHints.closingBraceHints.enable": {
                    "markdownDescription": "Whether to show inlay hints after a closing `}` to indicate what item it belongs to.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.inlayHints.closingBraceHints.minLines": {
                    "markdownDescription": "Minimum number of lines required before the `}` until the hint is shown (set to 0 or 1\nto always show them).",
                    "default": 25,
                    "type": "integer",
                    "minimum": 0
                },
                "rust-analyzer.inlayHints.closureCaptureHints.enable": {
                    "markdownDescription": "Whether to show inlay hints for closure captures.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.inlayHints.closureReturnTypeHints.enable": {
                    "markdownDescription": "Whether to show inlay type hints for return types of closures.",
                    "default": "never",
                    "type": "string",
                    "enum": [
                        "always",
                        "never",
                        "with_block"
                    ],
                    "enumDescriptions": [
                        "Always show type hints for return types of closures.",
                        "Never show type hints for return types of closures.",
                        "Only show type hints for return types of closures with blocks."
                    ]
                },
                "rust-analyzer.inlayHints.closureStyle": {
                    "markdownDescription": "Closure notation in type and chaining inlay hints.",
                    "default": "impl_fn",
                    "type": "string",
                    "enum": [
                        "impl_fn",
                        "rust_analyzer",
                        "with_id",
                        "hide"
                    ],
                    "enumDescriptions": [
                        "`impl_fn`: `impl FnMut(i32, u64) -> i8`",
                        "`rust_analyzer`: `|i32, u64| -> i8`",
                        "`with_id`: `{closure#14352}`, where that id is the unique number of the closure in r-a internals",
                        "`hide`: Shows `...` for every closure type"
                    ]
                },
                "rust-analyzer.inlayHints.discriminantHints.enable": {
                    "markdownDescription": "Whether to show enum variant discriminant hints.",
                    "default": "never",
                    "type": "string",
                    "enum": [
                        "always",
                        "never",
                        "fieldless"
                    ],
                    "enumDescriptions": [
                        "Always show all discriminant hints.",
                        "Never show discriminant hints.",
                        "Only show discriminant hints on fieldless enum variants."
                    ]
                },
                "rust-analyzer.inlayHints.expressionAdjustmentHints.enable": {
                    "markdownDescription": "Whether to show inlay hints for type adjustments.",
                    "default": "never",
                    "type": "string",
                    "enum": [
                        "always",
                        "never",
                        "reborrow"
                    ],
                    "enumDescriptions": [
                        "Always show all adjustment hints.",
                        "Never show adjustment hints.",
                        "Only show auto borrow and dereference adjustment hints."
                    ]
                },
                "rust-analyzer.inlayHints.expressionAdjustmentHints.hideOutsideUnsafe": {
                    "markdownDescription": "Whether to hide inlay hints for type adjustments outside of `unsafe` blocks.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.inlayHints.expressionAdjustmentHints.mode": {
                    "markdownDescription": "Whether to show inlay hints as postfix ops (`.*` instead of `*`, etc).",
                    "default": "prefix",
                    "type": "string",
                    "enum": [
                        "prefix",
                        "postfix",
                        "prefer_prefix",
                        "prefer_postfix"
                    ],
                    "enumDescriptions": [
                        "Always show adjustment hints as prefix (`*expr`).",
                        "Always show adjustment hints as postfix (`expr.*`).",
                        "Show prefix or postfix depending on which uses less parenthesis, preferring prefix.",
                        "Show prefix or postfix depending on which uses less parenthesis, preferring postfix."
                    ]
                },
                "rust-analyzer.inlayHints.implicitDrops.enable": {
                    "markdownDescription": "Whether to show implicit drop hints.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.inlayHints.lifetimeElisionHints.enable": {
                    "markdownDescription": "Whether to show inlay type hints for elided lifetimes in function signatures.",
                    "default": "never",
                    "type": "string",
                    "enum": [
                        "always",
                        "never",
                        "skip_trivial"
                    ],
                    "enumDescriptions": [
                        "Always show lifetime elision hints.",
                        "Never show lifetime elision hints.",
                        "Only show lifetime elision hints if a return type is involved."
                    ]
                },
                "rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames": {
                    "markdownDescription": "Whether to prefer using parameter names as the name for elided lifetime hints if possible.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.inlayHints.maxLength": {
                    "markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.",
                    "default": 25,
                    "type": [
                        "null",
                        "integer"
                    ],
                    "minimum": 0
                },
                "rust-analyzer.inlayHints.parameterHints.enable": {
                    "markdownDescription": "Whether to show function parameter name inlay hints at the call\nsite.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.inlayHints.reborrowHints.enable": {
                    "markdownDescription": "Whether to show inlay hints for compiler inserted reborrows.\nThis setting is deprecated in favor of #rust-analyzer.inlayHints.expressionAdjustmentHints.enable#.",
                    "default": "never",
                    "type": "string",
                    "enum": [
                        "always",
                        "never",
                        "mutable"
                    ],
                    "enumDescriptions": [
                        "Always show reborrow hints.",
                        "Never show reborrow hints.",
                        "Only show mutable reborrow hints."
                    ]
                },
                "rust-analyzer.inlayHints.renderColons": {
                    "markdownDescription": "Whether to render leading colons for type hints, and trailing colons for parameter hints.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.inlayHints.typeHints.enable": {
                    "markdownDescription": "Whether to show inlay type hints for variables.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.inlayHints.typeHints.hideClosureInitialization": {
                    "markdownDescription": "Whether to hide inlay type hints for `let` statements that initialize to a closure.\nOnly applies to closures with blocks, same as `#rust-analyzer.inlayHints.closureReturnTypeHints.enable#`.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.inlayHints.typeHints.hideNamedConstructor": {
                    "markdownDescription": "Whether to hide inlay type hints for constructors.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.interpret.tests": {
                    "markdownDescription": "Enables the experimental support for interpreting tests.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.joinLines.joinAssignments": {
                    "markdownDescription": "Join lines merges consecutive declaration and initialization of an assignment.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.joinLines.joinElseIf": {
                    "markdownDescription": "Join lines inserts else between consecutive ifs.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.joinLines.removeTrailingComma": {
                    "markdownDescription": "Join lines removes trailing commas.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.joinLines.unwrapTrivialBlock": {
                    "markdownDescription": "Join lines unwraps trivial blocks.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.lens.debug.enable": {
                    "markdownDescription": "Whether to show `Debug` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.lens.enable": {
                    "markdownDescription": "Whether to show CodeLens in Rust files.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.lens.forceCustomCommands": {
                    "markdownDescription": "Internal config: use custom client-side commands even when the\nclient doesn't set the corresponding capability.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.lens.implementations.enable": {
                    "markdownDescription": "Whether to show `Implementations` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.lens.location": {
                    "markdownDescription": "Where to render annotations.",
                    "default": "above_name",
                    "type": "string",
                    "enum": [
                        "above_name",
                        "above_whole_item"
                    ],
                    "enumDescriptions": [
                        "Render annotations above the name of the item.",
                        "Render annotations above the whole item, including documentation comments and attributes."
                    ]
                },
                "rust-analyzer.lens.references.adt.enable": {
                    "markdownDescription": "Whether to show `References` lens for Struct, Enum, and Union.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.lens.references.enumVariant.enable": {
                    "markdownDescription": "Whether to show `References` lens for Enum Variants.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.lens.references.method.enable": {
                    "markdownDescription": "Whether to show `Method References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.lens.references.trait.enable": {
                    "markdownDescription": "Whether to show `References` lens for Trait.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.lens.run.enable": {
                    "markdownDescription": "Whether to show `Run` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.linkedProjects": {
                    "markdownDescription": "Disable project auto-discovery in favor of explicitly specified set\nof projects.\n\nElements must be paths pointing to `Cargo.toml`,\n`rust-project.json`, or JSON objects in `rust-project.json` format.",
                    "default": [],
                    "type": "array",
                    "items": {
                        "type": [
                            "string",
                            "object"
                        ]
                    }
                },
                "rust-analyzer.lru.capacity": {
                    "markdownDescription": "Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.",
                    "default": null,
                    "type": [
                        "null",
                        "integer"
                    ],
                    "minimum": 0
                },
                "rust-analyzer.lru.query.capacities": {
                    "markdownDescription": "Sets the LRU capacity of the specified queries.",
                    "default": {},
                    "type": "object"
                },
                "rust-analyzer.notifications.cargoTomlNotFound": {
                    "markdownDescription": "Whether to show `can't find Cargo.toml` error message.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.numThreads": {
                    "markdownDescription": "How many worker threads in the main loop. The default `null` means to pick automatically.",
                    "default": null,
                    "type": [
                        "null",
                        "integer"
                    ],
                    "minimum": 0
                },
                "rust-analyzer.procMacro.attributes.enable": {
                    "markdownDescription": "Expand attribute macros. Requires `#rust-analyzer.procMacro.enable#` to be set.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.procMacro.enable": {
                    "markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.buildScripts.enable#`.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.procMacro.ignored": {
                    "markdownDescription": "These proc-macros will be ignored when trying to expand them.\n\nThis config takes a map of crate names with the exported proc-macro names to ignore as values.",
                    "default": {},
                    "type": "object"
                },
                "rust-analyzer.procMacro.server": {
                    "markdownDescription": "Internal config, path to proc-macro server executable.",
                    "default": null,
                    "type": [
                        "null",
                        "string"
                    ]
                },
                "rust-analyzer.references.excludeImports": {
                    "markdownDescription": "Exclude imports from find-all-references.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.runnables.command": {
                    "markdownDescription": "Command to be executed instead of 'cargo' for runnables.",
                    "default": null,
                    "type": [
                        "null",
                        "string"
                    ]
                },
                "rust-analyzer.runnables.extraArgs": {
                    "markdownDescription": "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.",
                    "default": [],
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "rust-analyzer.rust.analyzerTargetDir": {
                    "markdownDescription": "Optional path to a rust-analyzer specific target directory.\nThis prevents rust-analyzer's `cargo check` from locking the `Cargo.lock`\nat the expense of duplicating build artifacts.\n\nSet to `true` to use a subdirectory of the existing target directory or\nset to a path relative to the workspace to use that path.",
                    "default": null,
                    "anyOf": [
                        {
                            "type": "null"
                        },
                        {
                            "type": "boolean"
                        },
                        {
                            "type": "string"
                        }
                    ]
                },
                "rust-analyzer.rustc.source": {
                    "markdownDescription": "Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private\nprojects, or \"discover\" to try to automatically find it if the `rustc-dev` component\nis installed.\n\nAny project which uses rust-analyzer with the rustcPrivate\ncrates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.\n\nThis option does not take effect until rust-analyzer is restarted.",
                    "default": null,
                    "type": [
                        "null",
                        "string"
                    ]
                },
                "rust-analyzer.rustfmt.extraArgs": {
                    "markdownDescription": "Additional arguments to `rustfmt`.",
                    "default": [],
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "rust-analyzer.rustfmt.overrideCommand": {
                    "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nformatting. This should be the equivalent of `rustfmt` here, and\nnot that of `cargo fmt`. The file contents will be passed on the\nstandard input and the formatted result will be read from the\nstandard output.",
                    "default": null,
                    "type": [
                        "null",
                        "array"
                    ],
                    "items": {
                        "type": "string"
                    }
                },
                "rust-analyzer.rustfmt.rangeFormatting.enable": {
                    "markdownDescription": "Enables the use of rustfmt's unstable range formatting command for the\n`textDocument/rangeFormatting` request. The rustfmt option is unstable and only\navailable on a nightly build.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.semanticHighlighting.doc.comment.inject.enable": {
                    "markdownDescription": "Inject additional highlighting into doc comments.\n\nWhen enabled, rust-analyzer will highlight rust source in doc comments as well as intra\ndoc links.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.semanticHighlighting.nonStandardTokens": {
                    "markdownDescription": "Whether the server is allowed to emit non-standard tokens and modifiers.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.semanticHighlighting.operator.enable": {
                    "markdownDescription": "Use semantic tokens for operators.\n\nWhen disabled, rust-analyzer will emit semantic tokens only for operator tokens when\nthey are tagged with modifiers.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.semanticHighlighting.operator.specialization.enable": {
                    "markdownDescription": "Use specialized semantic tokens for operators.\n\nWhen enabled, rust-analyzer will emit special token types for operator tokens instead\nof the generic `operator` token type.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.semanticHighlighting.punctuation.enable": {
                    "markdownDescription": "Use semantic tokens for punctuation.\n\nWhen disabled, rust-analyzer will emit semantic tokens only for punctuation tokens when\nthey are tagged with modifiers or have a special role.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.semanticHighlighting.punctuation.separate.macro.bang": {
                    "markdownDescription": "When enabled, rust-analyzer will emit a punctuation semantic token for the `!` of macro\ncalls.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.semanticHighlighting.punctuation.specialization.enable": {
                    "markdownDescription": "Use specialized semantic tokens for punctuation.\n\nWhen enabled, rust-analyzer will emit special token types for punctuation tokens instead\nof the generic `punctuation` token type.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.semanticHighlighting.strings.enable": {
                    "markdownDescription": "Use semantic tokens for strings.\n\nIn some editors (e.g. vscode) semantic tokens override other highlighting grammars.\nBy disabling semantic tokens for strings, other grammars can be used to highlight\ntheir contents.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.signatureInfo.detail": {
                    "markdownDescription": "Show full signature of the callable. Only shows parameters if disabled.",
                    "default": "full",
                    "type": "string",
                    "enum": [
                        "full",
                        "parameters"
                    ],
                    "enumDescriptions": [
                        "Show the entire signature.",
                        "Show only the parameters."
                    ]
                },
                "rust-analyzer.signatureInfo.documentation.enable": {
                    "markdownDescription": "Show documentation.",
                    "default": true,
                    "type": "boolean"
                },
                "rust-analyzer.typing.autoClosingAngleBrackets.enable": {
                    "markdownDescription": "Whether to insert closing angle brackets when typing an opening angle bracket of a generic argument list.",
                    "default": false,
                    "type": "boolean"
                },
                "rust-analyzer.workspace.symbol.search.kind": {
                    "markdownDescription": "Workspace symbol search kind.",
                    "default": "only_types",
                    "type": "string",
                    "enum": [
                        "only_types",
                        "all_symbols"
                    ],
                    "enumDescriptions": [
                        "Search for types only.",
                        "Search for all symbols kinds."
                    ]
                },
                "rust-analyzer.workspace.symbol.search.limit": {
                    "markdownDescription": "Limits the number of items returned from a workspace symbol search (Defaults to 128).\nSome clients like vs-code issue new searches on result filtering and don't require all results to be returned in the initial search.\nOther clients requires all results upfront and might require a higher limit.",
                    "default": 128,
                    "type": "integer",
                    "minimum": 0
                },
                "rust-analyzer.workspace.symbol.search.scope": {
                    "markdownDescription": "Workspace symbol search scope.",
                    "default": "workspace",
                    "type": "string",
                    "enum": [
                        "workspace",
                        "workspace_and_dependencies"
                    ],
                    "enumDescriptions": [
                        "Search in current workspace only.",
                        "Search in current workspace and dependencies."
                    ]
                },
                "$generated-end": {}
            }
        },
        "configurationDefaults": {
            "explorer.fileNesting.patterns": {
                "Cargo.toml": "Cargo.lock"
            }
        },
        "problemPatterns": [
            {
                "name": "rustc",
                "patterns": [
                    {
                        "regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$",
                        "severity": 1,
                        "code": 2,
                        "message": 3
                    },
                    {
                        "regexp": "^[\\s->=]*(.*?):([1-9]\\d*):([1-9]\\d*)\\s*$",
                        "file": 1,
                        "line": 2,
                        "column": 3
                    }
                ]
            },
            {
                "name": "rustc-json",
                "patterns": [
                    {
                        "regexp": "^.*\"message\":{\"message\":\"([^\"]*).*?\"file_name\":\"([^\"]+).*?\"line_start\":(\\d+).*?\"line_end\":(\\d+).*?\"column_start\":(\\d+).*?\"column_end\":(\\d+).*}$",
                        "message": 1,
                        "file": 2,
                        "line": 3,
                        "endLine": 4,
                        "column": 5,
                        "endColumn": 6
                    }
                ]
            },
            {
                "name": "rust-panic",
                "patterns": [
                    {
                        "regexp": "^thread '.*' panicked at '(.*)', (.*):(\\d*):(\\d*)$",
                        "message": 1,
                        "file": 2,
                        "line": 3,
                        "column": 4
                    }
                ]
            }
        ],
        "languages": [
            {
                "id": "ra_syntax_tree",
                "extensions": [
                    ".rast"
                ]
            },
            {
                "id": "rust",
                "extensions": [
                    ".rs"
                ],
                "aliases": [
                    "Rust",
                    "rs"
                ],
                "configuration": "language-configuration.json"
            }
        ],
        "grammars": [
            {
                "language": "ra_syntax_tree",
                "scopeName": "source.ra_syntax_tree",
                "path": "ra_syntax_tree.tmGrammar.json"
            }
        ],
        "problemMatchers": [
            {
                "name": "rustc",
                "owner": "rustc",
                "source": "rustc",
                "fileLocation": [
                    "autoDetect",
                    "${workspaceRoot}"
                ],
                "pattern": "$rustc"
            },
            {
                "name": "rustc-json",
                "owner": "rustc",
                "source": "rustc",
                "fileLocation": [
                    "autoDetect",
                    "${workspaceRoot}"
                ],
                "pattern": "$rustc-json"
            },
            {
                "name": "rust-panic",
                "owner": "rust-panic",
                "source": "panic",
                "fileLocation": [
                    "autoDetect",
                    "${workspaceRoot}"
                ],
                "pattern": "$rust-panic"
            },
            {
                "name": "rustc-watch",
                "owner": "rustc",
                "source": "rustc",
                "fileLocation": [
                    "autoDetect",
                    "${workspaceRoot}"
                ],
                "background": {
                    "beginsPattern": "^\\[Running\\b",
                    "endsPattern": "^\\[Finished running\\b"
                },
                "pattern": "$rustc"
            }
        ],
        "colors": [
            {
                "id": "rust_analyzer.syntaxTreeBorder",
                "description": "Color of the border displayed in the Rust source code for the selected syntax node (see \"Show Syntax Tree\" command)",
                "defaults": {
                    "dark": "#ffffff",
                    "light": "#b700ff",
                    "highContrast": "#b700ff"
                }
            }
        ],
        "semanticTokenTypes": [
            {
                "id": "angle",
                "description": "Style for < or >",
                "superType": "punctuation"
            },
            {
                "id": "arithmetic",
                "description": "Style for arithmetic operators",
                "superType": "operator"
            },
            {
                "id": "attribute",
                "description": "Style for attributes"
            },
            {
                "id": "attributeBracket",
                "description": "Style for attribute invocation brackets, that is the `#[` and `]` tokens",
                "superType": "punctuation"
            },
            {
                "id": "bitwise",
                "description": "Style for bitwise operators",
                "superType": "operator"
            },
            {
                "id": "boolean",
                "description": "Style for boolean literals",
                "superType": "keyword"
            },
            {
                "id": "brace",
                "description": "Style for { or }",
                "superType": "punctuation"
            },
            {
                "id": "bracket",
                "description": "Style for [ or ]",
                "superType": "punctuation"
            },
            {
                "id": "builtinAttribute",
                "description": "Style for builtin attributes",
                "superType": "attribute"
            },
            {
                "id": "builtinType",
                "description": "Style for builtin types",
                "superType": "type"
            },
            {
                "id": "character",
                "description": "Style for character literals",
                "superType": "string"
            },
            {
                "id": "colon",
                "description": "Style for :",
                "superType": "punctuation"
            },
            {
                "id": "comma",
                "description": "Style for ,",
                "superType": "punctuation"
            },
            {
                "id": "comparison",
                "description": "Style for comparison operators",
                "superType": "operator"
            },
            {
                "id": "constParameter",
                "description": "Style for const generics"
            },
            {
                "id": "derive",
                "description": "Style for derives",
                "superType": "attribute"
            },
            {
                "id": "deriveHelper",
                "description": "Style for derive helpers",
                "superType": "attribute"
            },
            {
                "id": "dot",
                "description": "Style for .",
                "superType": "punctuation"
            },
            {
                "id": "escapeSequence",
                "description": "Style for char or byte escapes in strings"
            },
            {
                "id": "formatSpecifier",
                "description": "Style for {} placeholders in format strings"
            },
            {
                "id": "invalidEscapeSequence",
                "description": "Style for invalid char or byte escapes in strings"
            },
            {
                "id": "label",
                "description": "Style for labels"
            },
            {
                "id": "lifetime",
                "description": "Style for lifetimes"
            },
            {
                "id": "logical",
                "description": "Style for logic operators",
                "superType": "operator"
            },
            {
                "id": "macroBang",
                "description": "Style for the ! token of macro calls",
                "superType": "punctuation"
            },
            {
                "id": "operator",
                "description": "Style for operators",
                "superType": "punctuation"
            },
            {
                "id": "parenthesis",
                "description": "Style for ( or )",
                "superType": "punctuation"
            },
            {
                "id": "punctuation",
                "description": "Style for generic punctuation"
            },
            {
                "id": "selfKeyword",
                "description": "Style for the self keyword",
                "superType": "keyword"
            },
            {
                "id": "selfTypeKeyword",
                "description": "Style for the self type keyword",
                "superType": "keyword"
            },
            {
                "id": "semicolon",
                "description": "Style for ;",
                "superType": "punctuation"
            },
            {
                "id": "typeAlias",
                "description": "Style for type aliases",
                "superType": "type"
            },
            {
                "id": "union",
                "description": "Style for C-style untagged unions",
                "superType": "type"
            },
            {
                "id": "unresolvedReference",
                "description": "Style for names which can not be resolved due to compilation errors"
            }
        ],
        "semanticTokenModifiers": [
            {
                "id": "async",
                "description": "Style for async functions and the `async` and `await` keywords"
            },
            {
                "id": "attribute",
                "description": "Style for elements within attributes"
            },
            {
                "id": "callable",
                "description": "Style for locals whose types implements one of the `Fn*` traits"
            },
            {
                "id": "constant",
                "description": "Style for compile-time constants"
            },
            {
                "id": "consuming",
                "description": "Style for locals that are being consumed when use in a function call"
            },
            {
                "id": "controlFlow",
                "description": "Style for control-flow related tokens, this includes the `?` operator"
            },
            {
                "id": "crateRoot",
                "description": "Style for names resolving to a crate root"
            },
            {
                "id": "injected",
                "description": "Style for doc-string injected highlighting like rust source blocks in documentation"
            },
            {
                "id": "intraDocLink",
                "description": "Style for intra doc links in doc-strings"
            },
            {
                "id": "library",
                "description": "Style for items that are defined outside of the current crate"
            },
            {
                "id": "mutable",
                "description": "Style for mutable locals and statics as well as functions taking `&mut self`"
            },
            {
                "id": "public",
                "description": "Style for items that are from the current crate and are `pub`"
            },
            {
                "id": "reference",
                "description": "Style for locals behind a reference and functions taking `self` by reference"
            },
            {
                "id": "trait",
                "description": "Style for associated trait items"
            },
            {
                "id": "unsafe",
                "description": "Style for unsafe operations, like unsafe function calls, as well as the `unsafe` token"
            }
        ],
        "semanticTokenScopes": [
            {
                "language": "rust",
                "scopes": {
                    "attribute": [
                        "meta.attribute.rust"
                    ],
                    "boolean": [
                        "constant.language.boolean.rust"
                    ],
                    "builtinType": [
                        "support.type.primitive.rust"
                    ],
                    "constParameter": [
                        "constant.other.caps.rust"
                    ],
                    "enum": [
                        "entity.name.type.enum.rust"
                    ],
                    "formatSpecifier": [
                        "punctuation.section.embedded.rust"
                    ],
                    "function": [
                        "entity.name.function.rust"
                    ],
                    "interface": [
                        "entity.name.type.trait.rust"
                    ],
                    "keyword": [
                        "keyword.other.rust"
                    ],
                    "keyword.controlFlow": [
                        "keyword.control.rust"
                    ],
                    "lifetime": [
                        "storage.modifier.lifetime.rust"
                    ],
                    "macroBang": [
                        "entity.name.function.macro.rust"
                    ],
                    "method": [
                        "entity.name.function.rust"
                    ],
                    "struct": [
                        "entity.name.type.struct.rust"
                    ],
                    "typeAlias": [
                        "entity.name.type.declaration.rust"
                    ],
                    "union": [
                        "entity.name.type.union.rust"
                    ],
                    "variable": [
                        "variable.other.rust"
                    ],
                    "variable.constant": [
                        "variable.other.constant.rust"
                    ],
                    "*.mutable": [
                        "markup.underline"
                    ]
                }
            }
        ],
        "menus": {
            "commandPalette": [
                {
                    "command": "rust-analyzer.syntaxTree",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.viewHir",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.viewFileText",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.expandMacro",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.matchingBrace",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.parentModule",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.joinLines",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.run",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.debug",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.newDebugConfig",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.analyzerStatus",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.memoryUsage",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.reloadWorkspace",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.restartServer",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.onEnter",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.ssr",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.serverVersion",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.openDocs",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.openCargoToml",
                    "when": "inRustProject"
                },
                {
                    "command": "rust-analyzer.viewMemoryLayout",
                    "when": "inRustProject"
                }
            ],
            "editor/context": [
                {
                    "command": "rust-analyzer.peekTests",
                    "when": "inRustProject && editorTextFocus && editorLangId == rust",
                    "group": "navigation@1000"
                },
                {
                    "command": "rust-analyzer.openDocs",
                    "when": "inRustProject && editorTextFocus && editorLangId == rust",
                    "group": "navigation@1001"
                }
            ]
        },
        "views": {
            "explorer": [
                {
                    "id": "rustDependencies",
                    "name": "Rust Dependencies",
                    "when": "inRustProject && config.rust-analyzer.showDependenciesExplorer"
                }
            ]
        },
        "jsonValidation": [
            {
                "fileMatch": "rust-project.json",
                "url": "https://json.schemastore.org/rust-project.json"
            }
        ]
    }
}