]> git.lizzy.rs Git - rust.git/blob - editors/code/package.json
Bump vscode in package.json
[rust.git] / editors / code / package.json
1 {
2     "name": "rust-analyzer",
3     "displayName": "rust-analyzer",
4     "description": "An alternative rust language server to the RLS",
5     "preview": true,
6     "private": true,
7     "icon": "icon.png",
8     "version": "0.4.0-dev",
9     "releaseTag": null,
10     "publisher": "matklad",
11     "repository": {
12         "url": "https://github.com/rust-analyzer/rust-analyzer.git",
13         "type": "git"
14     },
15     "homepage": "https://rust-analyzer.github.io/",
16     "license": "MIT OR Apache-2.0",
17     "keywords": [
18         "rust"
19     ],
20     "categories": [
21         "Programming Languages"
22     ],
23     "engines": {
24         "vscode": "^1.63.0"
25     },
26     "enableProposedApi": true,
27     "scripts": {
28         "vscode:prepublish": "npm run build-base -- --minify",
29         "package": "vsce package -o rust-analyzer.vsix",
30         "build-base": "esbuild ./src/main.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --target=node14",
31         "build": "npm run build-base -- --sourcemap",
32         "watch": "npm run build-base -- --sourcemap --watch",
33         "lint": "tsfmt --verify && eslint -c .eslintrc.js --ext ts ./src ./tests",
34         "fix": " tsfmt -r       && eslint -c .eslintrc.js --ext ts ./src ./tests --fix",
35         "pretest": "tsc && npm run build",
36         "test": "node ./out/tests/runTests.js"
37     },
38     "dependencies": {
39         "https-proxy-agent": "^5.0.0",
40         "node-fetch": "^3.0.3",
41         "vscode-languageclient": "8.0.0-next.2",
42         "d3": "^7.2.0",
43         "d3-graphviz": "^4.0.0"
44     },
45     "devDependencies": {
46         "@types/node": "~14.17.5",
47         "@types/vscode": "~1.63.0",
48         "@typescript-eslint/eslint-plugin": "^5.5.0",
49         "@typescript-eslint/parser": "^5.5.0",
50         "@vscode/test-electron": "^1.6.2",
51         "esbuild": "^0.14.1",
52         "eslint": "^8.3.0",
53         "tslib": "^2.3.0",
54         "typescript": "^4.5.2",
55         "typescript-formatter": "^7.2.2",
56         "vsce": "^2.5.1"
57     },
58     "activationEvents": [
59         "onLanguage:rust",
60         "onCommand:rust-analyzer.analyzerStatus",
61         "onCommand:rust-analyzer.memoryUsage",
62         "onCommand:rust-analyzer.reloadWorkspace",
63         "workspaceContains:*/Cargo.toml",
64         "workspaceContains:*/rust-project.json"
65     ],
66     "main": "./out/main",
67     "contributes": {
68         "taskDefinitions": [
69             {
70                 "type": "cargo",
71                 "required": [
72                     "command"
73                 ],
74                 "properties": {
75                     "label": {
76                         "type": "string"
77                     },
78                     "command": {
79                         "type": "string"
80                     },
81                     "args": {
82                         "type": "array",
83                         "items": {
84                             "type": "string"
85                         }
86                     },
87                     "env": {
88                         "type": "object",
89                         "patternProperties": {
90                             ".+": {
91                                 "type": "string"
92                             }
93                         }
94                     }
95                 }
96             }
97         ],
98         "commands": [
99             {
100                 "command": "rust-analyzer.syntaxTree",
101                 "title": "Show Syntax Tree",
102                 "category": "Rust Analyzer"
103             },
104             {
105                 "command": "rust-analyzer.viewHir",
106                 "title": "View Hir",
107                 "category": "Rust Analyzer"
108             },
109             {
110                 "command": "rust-analyzer.viewItemTree",
111                 "title": "Debug ItemTree",
112                 "category": "Rust Analyzer"
113             },
114             {
115                 "command": "rust-analyzer.viewCrateGraph",
116                 "title": "View Crate Graph",
117                 "category": "Rust Analyzer"
118             },
119             {
120                 "command": "rust-analyzer.viewFullCrateGraph",
121                 "title": "View Crate Graph (Full)",
122                 "category": "Rust Analyzer"
123             },
124             {
125                 "command": "rust-analyzer.expandMacro",
126                 "title": "Expand macro recursively",
127                 "category": "Rust Analyzer"
128             },
129             {
130                 "command": "rust-analyzer.matchingBrace",
131                 "title": "Find matching brace",
132                 "category": "Rust Analyzer"
133             },
134             {
135                 "command": "rust-analyzer.parentModule",
136                 "title": "Locate parent module",
137                 "category": "Rust Analyzer"
138             },
139             {
140                 "command": "rust-analyzer.joinLines",
141                 "title": "Join lines",
142                 "category": "Rust Analyzer"
143             },
144             {
145                 "command": "rust-analyzer.run",
146                 "title": "Run",
147                 "category": "Rust Analyzer"
148             },
149             {
150                 "command": "rust-analyzer.copyRunCommandLine",
151                 "title": "Copy Run Command Line",
152                 "category": "Rust Analyzer"
153             },
154             {
155                 "command": "rust-analyzer.debug",
156                 "title": "Debug",
157                 "category": "Rust Analyzer"
158             },
159             {
160                 "command": "rust-analyzer.newDebugConfig",
161                 "title": "Generate launch configuration",
162                 "category": "Rust Analyzer"
163             },
164             {
165                 "command": "rust-analyzer.analyzerStatus",
166                 "title": "Status",
167                 "category": "Rust Analyzer"
168             },
169             {
170                 "command": "rust-analyzer.memoryUsage",
171                 "title": "Memory Usage (Clears Database)",
172                 "category": "Rust Analyzer"
173             },
174             {
175                 "command": "rust-analyzer.shuffleCrateGraph",
176                 "title": "Shuffle Crate Graph",
177                 "category": "Rust Analyzer"
178             },
179             {
180                 "command": "rust-analyzer.reloadWorkspace",
181                 "title": "Reload workspace",
182                 "category": "Rust Analyzer"
183             },
184             {
185                 "command": "rust-analyzer.reload",
186                 "title": "Restart server",
187                 "category": "Rust Analyzer"
188             },
189             {
190                 "command": "rust-analyzer.updateGithubToken",
191                 "title": "Update Github API token",
192                 "category": "Rust Analyzer"
193             },
194             {
195                 "command": "rust-analyzer.onEnter",
196                 "title": "Enhanced enter key",
197                 "category": "Rust Analyzer"
198             },
199             {
200                 "command": "rust-analyzer.ssr",
201                 "title": "Structural Search Replace",
202                 "category": "Rust Analyzer"
203             },
204             {
205                 "command": "rust-analyzer.serverVersion",
206                 "title": "Show RA Version",
207                 "category": "Rust Analyzer"
208             },
209             {
210                 "command": "rust-analyzer.toggleInlayHints",
211                 "title": "Toggle inlay hints",
212                 "category": "Rust Analyzer"
213             },
214             {
215                 "command": "rust-analyzer.openDocs",
216                 "title": "Open docs under cursor",
217                 "category": "Rust Analyzer"
218             },
219             {
220                 "command": "rust-analyzer.openCargoToml",
221                 "title": "Open Cargo.toml",
222                 "category": "Rust Analyzer"
223             },
224             {
225                 "command": "rust-analyzer.peekTests",
226                 "title": "Peek related tests",
227                 "category": "Rust Analyzer"
228             },
229             {
230                 "command": "rust-analyzer.moveItemUp",
231                 "title": "Move item up",
232                 "category": "Rust Analyzer"
233             },
234             {
235                 "command": "rust-analyzer.moveItemDown",
236                 "title": "Move item down",
237                 "category": "Rust Analyzer"
238             }
239         ],
240         "keybindings": [
241             {
242                 "command": "rust-analyzer.parentModule",
243                 "key": "ctrl+shift+u",
244                 "when": "editorTextFocus && editorLangId == rust"
245             },
246             {
247                 "command": "rust-analyzer.matchingBrace",
248                 "key": "ctrl+shift+m",
249                 "when": "editorTextFocus && editorLangId == rust"
250             },
251             {
252                 "command": "rust-analyzer.joinLines",
253                 "key": "ctrl+shift+j",
254                 "when": "editorTextFocus && editorLangId == rust"
255             }
256         ],
257         "configuration": {
258             "type": "object",
259             "title": "Rust Analyzer",
260             "properties": {
261                 "rust-analyzer.cargoRunner": {
262                     "type": [
263                         "null",
264                         "string"
265                     ],
266                     "default": null,
267                     "description": "Custom cargo runner extension ID."
268                 },
269                 "rust-analyzer.runnableEnv": {
270                     "anyOf": [
271                         {
272                             "type": "null"
273                         },
274                         {
275                             "type": "array",
276                             "items": {
277                                 "type": "object",
278                                 "properties": {
279                                     "mask": {
280                                         "type": "string",
281                                         "description": "Runnable name mask"
282                                     },
283                                     "env": {
284                                         "type": "object",
285                                         "description": "Variables in form of { \"key\": \"value\"}"
286                                     }
287                                 }
288                             }
289                         },
290                         {
291                             "type": "object",
292                             "description": "Variables in form of { \"key\": \"value\"}"
293                         }
294                     ],
295                     "default": null,
296                     "markdownDescription": "Environment variables passed to the runnable launched using `Test` or `Debug` lens or `rust-analyzer.run` command."
297                 },
298                 "rust-analyzer.inlayHints.enable": {
299                     "type": "boolean",
300                     "default": true,
301                     "description": "Whether to show inlay hints."
302                 },
303                 "rust-analyzer.inlayHints.smallerHints": {
304                     "type": "boolean",
305                     "default": true,
306                     "description": "Whether inlay hints font size should be smaller than editor's font size."
307                 },
308                 "rust-analyzer.updates.channel": {
309                     "type": "string",
310                     "enum": [
311                         "stable",
312                         "nightly"
313                     ],
314                     "default": "stable",
315                     "markdownEnumDescriptions": [
316                         "`stable` updates are shipped weekly, they don't contain cutting-edge features from VSCode proposed APIs but have less bugs in general.",
317                         "`nightly` updates are shipped daily (extension updates automatically by downloading artifacts directly from GitHub), they contain cutting-edge features and latest bug fixes. These releases help us get your feedback very quickly and speed up rust-analyzer development **drastically**."
318                     ],
319                     "markdownDescription": "Choose `nightly` updates to get the latest features and bug fixes every day. While `stable` releases occur weekly and don't contain cutting-edge features from VSCode proposed APIs."
320                 },
321                 "rust-analyzer.updates.askBeforeDownload": {
322                     "type": "boolean",
323                     "default": false,
324                     "description": "Whether to ask for permission before downloading any files from the Internet."
325                 },
326                 "rust-analyzer.server.path": {
327                     "type": [
328                         "null",
329                         "string"
330                     ],
331                     "scope": "machine-overridable",
332                     "default": null,
333                     "markdownDescription": "Path to rust-analyzer executable (points to bundled binary by default). If this is set, then `#rust-analyzer.updates.channel#` setting is not used"
334                 },
335                 "rust-analyzer.server.extraEnv": {
336                     "type": [
337                         "null",
338                         "object"
339                     ],
340                     "default": null,
341                     "markdownDescription": "Extra environment variables that will be passed to the rust-analyzer executable. Useful for passing e.g. `RA_LOG` for debugging."
342                 },
343                 "rust-analyzer.trace.server": {
344                     "type": "string",
345                     "scope": "window",
346                     "enum": [
347                         "off",
348                         "messages",
349                         "verbose"
350                     ],
351                     "enumDescriptions": [
352                         "No traces",
353                         "Error only",
354                         "Full log"
355                     ],
356                     "default": "off",
357                     "description": "Trace requests to the rust-analyzer (this is usually overly verbose and not recommended for regular users)."
358                 },
359                 "rust-analyzer.trace.extension": {
360                     "description": "Enable logging of VS Code extensions itself.",
361                     "type": "boolean",
362                     "default": false
363                 },
364                 "rust-analyzer.debug.engine": {
365                     "type": "string",
366                     "enum": [
367                         "auto",
368                         "vadimcn.vscode-lldb",
369                         "ms-vscode.cpptools"
370                     ],
371                     "default": "auto",
372                     "description": "Preferred debug engine.",
373                     "markdownEnumDescriptions": [
374                         "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).",
375                         "Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)",
376                         "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)"
377                     ]
378                 },
379                 "rust-analyzer.debug.sourceFileMap": {
380                     "type": [
381                         "object",
382                         "string"
383                     ],
384                     "const": "auto",
385                     "description": "Optional source file mappings passed to the debug engine.",
386                     "default": {
387                         "/rustc/<id>": "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust"
388                     }
389                 },
390                 "rust-analyzer.debug.openDebugPane": {
391                     "markdownDescription": "Whether to open up the `Debug Panel` on debugging start.",
392                     "type": "boolean",
393                     "default": false
394                 },
395                 "rust-analyzer.debug.engineSettings": {
396                     "type": "object",
397                     "default": {},
398                     "markdownDescription": "Optional settings passed to the debug engine. Example: `{ \"lldb\": { \"terminal\":\"external\"} }`"
399                 },
400                 "$generated-start": {},
401                 "rust-analyzer.assist.importGranularity": {
402                     "markdownDescription": "How imports should be grouped into use statements.",
403                     "default": "crate",
404                     "type": "string",
405                     "enum": [
406                         "preserve",
407                         "crate",
408                         "module",
409                         "item"
410                     ],
411                     "enumDescriptions": [
412                         "Do not change the granularity of any imports and preserve the original structure written by the developer.",
413                         "Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements.",
414                         "Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements.",
415                         "Flatten imports so that each has its own use statement."
416                     ]
417                 },
418                 "rust-analyzer.assist.importEnforceGranularity": {
419                     "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.",
420                     "default": false,
421                     "type": "boolean"
422                 },
423                 "rust-analyzer.assist.importPrefix": {
424                     "markdownDescription": "The path structure for newly inserted paths to use.",
425                     "default": "plain",
426                     "type": "string",
427                     "enum": [
428                         "plain",
429                         "self",
430                         "crate"
431                     ],
432                     "enumDescriptions": [
433                         "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.",
434                         "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.",
435                         "Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from."
436                     ]
437                 },
438                 "rust-analyzer.assist.importGroup": {
439                     "markdownDescription": "Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.",
440                     "default": true,
441                     "type": "boolean"
442                 },
443                 "rust-analyzer.assist.allowMergingIntoGlobImports": {
444                     "markdownDescription": "Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`.",
445                     "default": true,
446                     "type": "boolean"
447                 },
448                 "rust-analyzer.cache.warmup": {
449                     "markdownDescription": "Warm up caches on project load.",
450                     "default": true,
451                     "type": "boolean"
452                 },
453                 "rust-analyzer.callInfo.full": {
454                     "markdownDescription": "Show function name and docs in parameter hints.",
455                     "default": true,
456                     "type": "boolean"
457                 },
458                 "rust-analyzer.cargo.autoreload": {
459                     "markdownDescription": "Automatically refresh project info via `cargo metadata` on\n`Cargo.toml` changes.",
460                     "default": true,
461                     "type": "boolean"
462                 },
463                 "rust-analyzer.cargo.allFeatures": {
464                     "markdownDescription": "Activate all available features (`--all-features`).",
465                     "default": false,
466                     "type": "boolean"
467                 },
468                 "rust-analyzer.cargo.unsetTest": {
469                     "markdownDescription": "Unsets `#[cfg(test)]` for the specified crates.",
470                     "default": [
471                         "core"
472                     ],
473                     "type": "array",
474                     "items": {
475                         "type": "string"
476                     }
477                 },
478                 "rust-analyzer.cargo.features": {
479                     "markdownDescription": "List of features to activate.",
480                     "default": [],
481                     "type": "array",
482                     "items": {
483                         "type": "string"
484                     }
485                 },
486                 "rust-analyzer.cargo.runBuildScripts": {
487                     "markdownDescription": "Run build scripts (`build.rs`) for more precise code analysis.",
488                     "default": true,
489                     "type": "boolean"
490                 },
491                 "rust-analyzer.cargo.useRustcWrapperForBuildScripts": {
492                     "markdownDescription": "Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to\navoid compiling unnecessary things.",
493                     "default": true,
494                     "type": "boolean"
495                 },
496                 "rust-analyzer.cargo.noDefaultFeatures": {
497                     "markdownDescription": "Do not activate the `default` feature.",
498                     "default": false,
499                     "type": "boolean"
500                 },
501                 "rust-analyzer.cargo.target": {
502                     "markdownDescription": "Compilation target (target triple).",
503                     "default": null,
504                     "type": [
505                         "null",
506                         "string"
507                     ]
508                 },
509                 "rust-analyzer.cargo.noSysroot": {
510                     "markdownDescription": "Internal config for debugging, disables loading of sysroot crates.",
511                     "default": false,
512                     "type": "boolean"
513                 },
514                 "rust-analyzer.checkOnSave.enable": {
515                     "markdownDescription": "Run specified `cargo check` command for diagnostics on save.",
516                     "default": true,
517                     "type": "boolean"
518                 },
519                 "rust-analyzer.checkOnSave.allFeatures": {
520                     "markdownDescription": "Check with all features (`--all-features`).\nDefaults to `#rust-analyzer.cargo.allFeatures#`.",
521                     "default": null,
522                     "type": [
523                         "null",
524                         "boolean"
525                     ]
526                 },
527                 "rust-analyzer.checkOnSave.allTargets": {
528                     "markdownDescription": "Check all targets and tests (`--all-targets`).",
529                     "default": true,
530                     "type": "boolean"
531                 },
532                 "rust-analyzer.checkOnSave.command": {
533                     "markdownDescription": "Cargo command to use for `cargo check`.",
534                     "default": "check",
535                     "type": "string"
536                 },
537                 "rust-analyzer.checkOnSave.noDefaultFeatures": {
538                     "markdownDescription": "Do not activate the `default` feature.",
539                     "default": null,
540                     "type": [
541                         "null",
542                         "boolean"
543                     ]
544                 },
545                 "rust-analyzer.checkOnSave.target": {
546                     "markdownDescription": "Check for a specific target. Defaults to\n`#rust-analyzer.cargo.target#`.",
547                     "default": null,
548                     "type": [
549                         "null",
550                         "string"
551                     ]
552                 },
553                 "rust-analyzer.checkOnSave.extraArgs": {
554                     "markdownDescription": "Extra arguments for `cargo check`.",
555                     "default": [],
556                     "type": "array",
557                     "items": {
558                         "type": "string"
559                     }
560                 },
561                 "rust-analyzer.checkOnSave.features": {
562                     "markdownDescription": "List of features to activate. Defaults to\n`#rust-analyzer.cargo.features#`.",
563                     "default": null,
564                     "type": [
565                         "null",
566                         "array"
567                     ],
568                     "items": {
569                         "type": "string"
570                     }
571                 },
572                 "rust-analyzer.checkOnSave.overrideCommand": {
573                     "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nchecking. The command should include `--message-format=json` or\nsimilar option.",
574                     "default": null,
575                     "type": [
576                         "null",
577                         "array"
578                     ],
579                     "items": {
580                         "type": "string"
581                     }
582                 },
583                 "rust-analyzer.completion.addCallArgumentSnippets": {
584                     "markdownDescription": "Whether to add argument snippets when completing functions.\nOnly applies when `#rust-analyzer.completion.addCallParenthesis#` is set.",
585                     "default": true,
586                     "type": "boolean"
587                 },
588                 "rust-analyzer.completion.addCallParenthesis": {
589                     "markdownDescription": "Whether to add parenthesis when completing functions.",
590                     "default": true,
591                     "type": "boolean"
592                 },
593                 "rust-analyzer.completion.snippets": {
594                     "markdownDescription": "Custom completion snippets.",
595                     "default": {
596                         "Arc::new": {
597                             "postfix": "arc",
598                             "body": "Arc::new(${receiver})",
599                             "requires": "std::sync::Arc",
600                             "description": "Put the expression into an `Arc`",
601                             "scope": "expr"
602                         },
603                         "Rc::new": {
604                             "postfix": "rc",
605                             "body": "Rc::new(${receiver})",
606                             "requires": "std::rc::Rc",
607                             "description": "Put the expression into an `Rc`",
608                             "scope": "expr"
609                         },
610                         "Box::pin": {
611                             "postfix": "pinbox",
612                             "body": "Box::pin(${receiver})",
613                             "requires": "std::boxed::Box",
614                             "description": "Put the expression into a pinned `Box`",
615                             "scope": "expr"
616                         },
617                         "Ok": {
618                             "postfix": "ok",
619                             "body": "Ok(${receiver})",
620                             "description": "Wrap the expression in a `Result::Ok`",
621                             "scope": "expr"
622                         },
623                         "Err": {
624                             "postfix": "err",
625                             "body": "Err(${receiver})",
626                             "description": "Wrap the expression in a `Result::Err`",
627                             "scope": "expr"
628                         },
629                         "Some": {
630                             "postfix": "some",
631                             "body": "Some(${receiver})",
632                             "description": "Wrap the expression in an `Option::Some`",
633                             "scope": "expr"
634                         }
635                     },
636                     "type": "object"
637                 },
638                 "rust-analyzer.completion.postfix.enable": {
639                     "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.",
640                     "default": true,
641                     "type": "boolean"
642                 },
643                 "rust-analyzer.completion.autoimport.enable": {
644                     "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.",
645                     "default": true,
646                     "type": "boolean"
647                 },
648                 "rust-analyzer.completion.autoself.enable": {
649                     "markdownDescription": "Toggles the additional completions that automatically show method calls and field accesses\nwith `self` prefixed to them when inside a method.",
650                     "default": true,
651                     "type": "boolean"
652                 },
653                 "rust-analyzer.diagnostics.enable": {
654                     "markdownDescription": "Whether to show native rust-analyzer diagnostics.",
655                     "default": true,
656                     "type": "boolean"
657                 },
658                 "rust-analyzer.diagnostics.enableExperimental": {
659                     "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might\nhave more false positives than usual.",
660                     "default": true,
661                     "type": "boolean"
662                 },
663                 "rust-analyzer.diagnostics.disabled": {
664                     "markdownDescription": "List of rust-analyzer diagnostics to disable.",
665                     "default": [],
666                     "type": "array",
667                     "items": {
668                         "type": "string"
669                     },
670                     "uniqueItems": true
671                 },
672                 "rust-analyzer.diagnostics.remapPrefix": {
673                     "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`.",
674                     "default": {},
675                     "type": "object"
676                 },
677                 "rust-analyzer.diagnostics.warningsAsHint": {
678                     "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`.",
679                     "default": [],
680                     "type": "array",
681                     "items": {
682                         "type": "string"
683                     }
684                 },
685                 "rust-analyzer.diagnostics.warningsAsInfo": {
686                     "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`.",
687                     "default": [],
688                     "type": "array",
689                     "items": {
690                         "type": "string"
691                     }
692                 },
693                 "rust-analyzer.experimental.procAttrMacros": {
694                     "markdownDescription": "Expand attribute macros.",
695                     "default": true,
696                     "type": "boolean"
697                 },
698                 "rust-analyzer.files.watcher": {
699                     "markdownDescription": "Controls file watching implementation.",
700                     "default": "client",
701                     "type": "string"
702                 },
703                 "rust-analyzer.files.excludeDirs": {
704                     "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`.",
705                     "default": [],
706                     "type": "array",
707                     "items": {
708                         "type": "string"
709                     }
710                 },
711                 "rust-analyzer.highlightRelated.references": {
712                     "markdownDescription": "Enables highlighting of related references while hovering your mouse above any identifier.",
713                     "default": true,
714                     "type": "boolean"
715                 },
716                 "rust-analyzer.highlightRelated.exitPoints": {
717                     "markdownDescription": "Enables highlighting of all exit points while hovering your mouse above any `return`, `?`, or return type arrow (`->`).",
718                     "default": true,
719                     "type": "boolean"
720                 },
721                 "rust-analyzer.highlightRelated.breakPoints": {
722                     "markdownDescription": "Enables highlighting of related references while hovering your mouse `break`, `loop`, `while`, or `for` keywords.",
723                     "default": true,
724                     "type": "boolean"
725                 },
726                 "rust-analyzer.highlightRelated.yieldPoints": {
727                     "markdownDescription": "Enables highlighting of all break points for a loop or block context while hovering your mouse above any `async` or `await` keywords.",
728                     "default": true,
729                     "type": "boolean"
730                 },
731                 "rust-analyzer.highlighting.strings": {
732                     "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.",
733                     "default": true,
734                     "type": "boolean"
735                 },
736                 "rust-analyzer.hover.documentation": {
737                     "markdownDescription": "Whether to show documentation on hover.",
738                     "default": true,
739                     "type": "boolean"
740                 },
741                 "rust-analyzer.hover.linksInHover": {
742                     "markdownDescription": "Use markdown syntax for links in hover.",
743                     "default": true,
744                     "type": "boolean"
745                 },
746                 "rust-analyzer.hoverActions.debug": {
747                     "markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
748                     "default": true,
749                     "type": "boolean"
750                 },
751                 "rust-analyzer.hoverActions.enable": {
752                     "markdownDescription": "Whether to show HoverActions in Rust files.",
753                     "default": true,
754                     "type": "boolean"
755                 },
756                 "rust-analyzer.hoverActions.gotoTypeDef": {
757                     "markdownDescription": "Whether to show `Go to Type Definition` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
758                     "default": true,
759                     "type": "boolean"
760                 },
761                 "rust-analyzer.hoverActions.implementations": {
762                     "markdownDescription": "Whether to show `Implementations` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
763                     "default": true,
764                     "type": "boolean"
765                 },
766                 "rust-analyzer.hoverActions.references": {
767                     "markdownDescription": "Whether to show `References` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
768                     "default": false,
769                     "type": "boolean"
770                 },
771                 "rust-analyzer.hoverActions.run": {
772                     "markdownDescription": "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
773                     "default": true,
774                     "type": "boolean"
775                 },
776                 "rust-analyzer.inlayHints.chainingHints": {
777                     "markdownDescription": "Whether to show inlay type hints for method chains.",
778                     "default": true,
779                     "type": "boolean"
780                 },
781                 "rust-analyzer.inlayHints.maxLength": {
782                     "markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.",
783                     "default": 25,
784                     "type": [
785                         "null",
786                         "integer"
787                     ],
788                     "minimum": 0
789                 },
790                 "rust-analyzer.inlayHints.parameterHints": {
791                     "markdownDescription": "Whether to show function parameter name inlay hints at the call\nsite.",
792                     "default": true,
793                     "type": "boolean"
794                 },
795                 "rust-analyzer.inlayHints.typeHints": {
796                     "markdownDescription": "Whether to show inlay type hints for variables.",
797                     "default": true,
798                     "type": "boolean"
799                 },
800                 "rust-analyzer.inlayHints.hideNamedConstructorHints": {
801                     "markdownDescription": "Whether to hide inlay hints for constructors.",
802                     "default": false,
803                     "type": "boolean"
804                 },
805                 "rust-analyzer.joinLines.joinElseIf": {
806                     "markdownDescription": "Join lines inserts else between consecutive ifs.",
807                     "default": true,
808                     "type": "boolean"
809                 },
810                 "rust-analyzer.joinLines.removeTrailingComma": {
811                     "markdownDescription": "Join lines removes trailing commas.",
812                     "default": true,
813                     "type": "boolean"
814                 },
815                 "rust-analyzer.joinLines.unwrapTrivialBlock": {
816                     "markdownDescription": "Join lines unwraps trivial blocks.",
817                     "default": true,
818                     "type": "boolean"
819                 },
820                 "rust-analyzer.joinLines.joinAssignments": {
821                     "markdownDescription": "Join lines merges consecutive declaration and initialization of an assignment.",
822                     "default": true,
823                     "type": "boolean"
824                 },
825                 "rust-analyzer.lens.debug": {
826                     "markdownDescription": "Whether to show `Debug` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
827                     "default": true,
828                     "type": "boolean"
829                 },
830                 "rust-analyzer.lens.enable": {
831                     "markdownDescription": "Whether to show CodeLens in Rust files.",
832                     "default": true,
833                     "type": "boolean"
834                 },
835                 "rust-analyzer.lens.implementations": {
836                     "markdownDescription": "Whether to show `Implementations` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
837                     "default": true,
838                     "type": "boolean"
839                 },
840                 "rust-analyzer.lens.run": {
841                     "markdownDescription": "Whether to show `Run` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
842                     "default": true,
843                     "type": "boolean"
844                 },
845                 "rust-analyzer.lens.methodReferences": {
846                     "markdownDescription": "Whether to show `Method References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
847                     "default": false,
848                     "type": "boolean"
849                 },
850                 "rust-analyzer.lens.references": {
851                     "markdownDescription": "Whether to show `References` lens for Struct, Enum, Union and Trait.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",
852                     "default": false,
853                     "type": "boolean"
854                 },
855                 "rust-analyzer.lens.enumVariantReferences": {
856                     "markdownDescription": "Whether to show `References` lens for Enum Variants.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",
857                     "default": false,
858                     "type": "boolean"
859                 },
860                 "rust-analyzer.lens.forceCustomCommands": {
861                     "markdownDescription": "Internal config: use custom client-side commands even when the\nclient doesn't set the corresponding capability.",
862                     "default": true,
863                     "type": "boolean"
864                 },
865                 "rust-analyzer.linkedProjects": {
866                     "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.",
867                     "default": [],
868                     "type": "array",
869                     "items": {
870                         "type": [
871                             "string",
872                             "object"
873                         ]
874                     }
875                 },
876                 "rust-analyzer.lruCapacity": {
877                     "markdownDescription": "Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.",
878                     "default": null,
879                     "type": [
880                         "null",
881                         "integer"
882                     ],
883                     "minimum": 0
884                 },
885                 "rust-analyzer.notifications.cargoTomlNotFound": {
886                     "markdownDescription": "Whether to show `can't find Cargo.toml` error message.",
887                     "default": true,
888                     "type": "boolean"
889                 },
890                 "rust-analyzer.procMacro.enable": {
891                     "markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.",
892                     "default": true,
893                     "type": "boolean"
894                 },
895                 "rust-analyzer.procMacro.server": {
896                     "markdownDescription": "Internal config, path to proc-macro server executable (typically,\nthis is rust-analyzer itself, but we override this in tests).",
897                     "default": null,
898                     "type": [
899                         "null",
900                         "string"
901                     ]
902                 },
903                 "rust-analyzer.runnables.overrideCargo": {
904                     "markdownDescription": "Command to be executed instead of 'cargo' for runnables.",
905                     "default": null,
906                     "type": [
907                         "null",
908                         "string"
909                     ]
910                 },
911                 "rust-analyzer.runnables.cargoExtraArgs": {
912                     "markdownDescription": "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.",
913                     "default": [],
914                     "type": "array",
915                     "items": {
916                         "type": "string"
917                     }
918                 },
919                 "rust-analyzer.rustcSource": {
920                     "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.",
921                     "default": null,
922                     "type": [
923                         "null",
924                         "string"
925                     ]
926                 },
927                 "rust-analyzer.rustfmt.extraArgs": {
928                     "markdownDescription": "Additional arguments to `rustfmt`.",
929                     "default": [],
930                     "type": "array",
931                     "items": {
932                         "type": "string"
933                     }
934                 },
935                 "rust-analyzer.rustfmt.overrideCommand": {
936                     "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nformatting.",
937                     "default": null,
938                     "type": [
939                         "null",
940                         "array"
941                     ],
942                     "items": {
943                         "type": "string"
944                     }
945                 },
946                 "rust-analyzer.rustfmt.enableRangeFormatting": {
947                     "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.",
948                     "default": false,
949                     "type": "boolean"
950                 },
951                 "rust-analyzer.workspace.symbol.search.scope": {
952                     "markdownDescription": "Workspace symbol search scope.",
953                     "default": "workspace",
954                     "type": "string",
955                     "enum": [
956                         "workspace",
957                         "workspace_and_dependencies"
958                     ],
959                     "enumDescriptions": [
960                         "Search in current workspace only",
961                         "Search in current workspace and dependencies"
962                     ]
963                 },
964                 "rust-analyzer.workspace.symbol.search.kind": {
965                     "markdownDescription": "Workspace symbol search kind.",
966                     "default": "only_types",
967                     "type": "string",
968                     "enum": [
969                         "only_types",
970                         "all_symbols"
971                     ],
972                     "enumDescriptions": [
973                         "Search for types only",
974                         "Search for all symbols kinds"
975                     ]
976                 },
977                 "$generated-end": {}
978             }
979         },
980         "problemPatterns": [
981             {
982                 "name": "rustc",
983                 "patterns": [
984                     {
985                         "regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$",
986                         "severity": 1,
987                         "code": 2,
988                         "message": 3
989                     },
990                     {
991                         "regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$",
992                         "file": 1,
993                         "line": 2,
994                         "column": 3
995                     }
996                 ]
997             },
998             {
999                 "name": "rustc-json",
1000                 "patterns": [
1001                     {
1002                         "regexp": "^.*\"message\":{\"message\":\"([^\"]*).*?\"file_name\":\"([^\"]+).*?\"line_start\":(\\d+).*?\"line_end\":(\\d+).*?\"column_start\":(\\d+).*?\"column_end\":(\\d+).*}$",
1003                         "message": 1,
1004                         "file": 2,
1005                         "line": 3,
1006                         "endLine": 4,
1007                         "column": 5,
1008                         "endColumn": 6
1009                     }
1010                 ]
1011             }
1012         ],
1013         "languages": [
1014             {
1015                 "id": "ra_syntax_tree",
1016                 "extensions": [
1017                     ".rast"
1018                 ]
1019             },
1020             {
1021                 "id": "rust",
1022                 "extensions": [
1023                     ".rs"
1024                 ],
1025                 "aliases": [
1026                     "Rust",
1027                     "rs"
1028                 ],
1029                 "configuration": "language-configuration.json"
1030             }
1031         ],
1032         "grammars": [
1033             {
1034                 "language": "ra_syntax_tree",
1035                 "scopeName": "source.ra_syntax_tree",
1036                 "path": "ra_syntax_tree.tmGrammar.json"
1037             }
1038         ],
1039         "problemMatchers": [
1040             {
1041                 "name": "rustc",
1042                 "owner": "rustc",
1043                 "source": "rustc",
1044                 "fileLocation": [
1045                     "autoDetect",
1046                     "${workspaceRoot}"
1047                 ],
1048                 "pattern": "$rustc"
1049             },
1050             {
1051                 "name": "rustc-json",
1052                 "owner": "rustc",
1053                 "source": "rustc",
1054                 "fileLocation": [
1055                     "autoDetect",
1056                     "${workspaceRoot}"
1057                 ],
1058                 "pattern": "$rustc-json"
1059             },
1060             {
1061                 "name": "rustc-watch",
1062                 "owner": "rustc",
1063                 "source": "rustc",
1064                 "fileLocation": [
1065                     "autoDetect",
1066                     "${workspaceRoot}"
1067                 ],
1068                 "background": {
1069                     "beginsPattern": "^\\[Running\\b",
1070                     "endsPattern": "^\\[Finished running\\b"
1071                 },
1072                 "pattern": "$rustc"
1073             }
1074         ],
1075         "colors": [
1076             {
1077                 "id": "rust_analyzer.inlayHints.foreground",
1078                 "description": "Foreground color of inlay hints (is overriden by more specific rust_analyzer.inlayHints.foreground.* configurations)",
1079                 "defaults": {
1080                     "dark": "#A0A0A0F0",
1081                     "light": "#747474",
1082                     "highContrast": "#BEBEBE"
1083                 }
1084             },
1085             {
1086                 "id": "rust_analyzer.inlayHints.background",
1087                 "description": "Background color of inlay hints (is overriden by more specific rust_analyzer.inlayHints.background.* configurations)",
1088                 "defaults": {
1089                     "dark": "#11223300",
1090                     "light": "#11223300",
1091                     "highContrast": "#11223300"
1092                 }
1093             },
1094             {
1095                 "id": "rust_analyzer.inlayHints.foreground.typeHints",
1096                 "description": "Foreground color of inlay type hints for variables (overrides rust_analyzer.inlayHints.foreground)",
1097                 "defaults": {
1098                     "dark": "rust_analyzer.inlayHints.foreground",
1099                     "light": "rust_analyzer.inlayHints.foreground",
1100                     "highContrast": "rust_analyzer.inlayHints.foreground"
1101                 }
1102             },
1103             {
1104                 "id": "rust_analyzer.inlayHints.foreground.chainingHints",
1105                 "description": "Foreground color of inlay type hints for method chains (overrides rust_analyzer.inlayHints.foreground)",
1106                 "defaults": {
1107                     "dark": "rust_analyzer.inlayHints.foreground",
1108                     "light": "rust_analyzer.inlayHints.foreground",
1109                     "highContrast": "rust_analyzer.inlayHints.foreground"
1110                 }
1111             },
1112             {
1113                 "id": "rust_analyzer.inlayHints.foreground.parameterHints",
1114                 "description": "Foreground color of function parameter name inlay hints at the call site (overrides rust_analyzer.inlayHints.foreground)",
1115                 "defaults": {
1116                     "dark": "rust_analyzer.inlayHints.foreground",
1117                     "light": "rust_analyzer.inlayHints.foreground",
1118                     "highContrast": "rust_analyzer.inlayHints.foreground"
1119                 }
1120             },
1121             {
1122                 "id": "rust_analyzer.inlayHints.background.typeHints",
1123                 "description": "Background color of inlay type hints for variables (overrides rust_analyzer.inlayHints.background)",
1124                 "defaults": {
1125                     "dark": "rust_analyzer.inlayHints.background",
1126                     "light": "rust_analyzer.inlayHints.background",
1127                     "highContrast": "rust_analyzer.inlayHints.background"
1128                 }
1129             },
1130             {
1131                 "id": "rust_analyzer.inlayHints.background.chainingHints",
1132                 "description": "Background color of inlay type hints for method chains (overrides rust_analyzer.inlayHints.background)",
1133                 "defaults": {
1134                     "dark": "rust_analyzer.inlayHints.background",
1135                     "light": "rust_analyzer.inlayHints.background",
1136                     "highContrast": "rust_analyzer.inlayHints.background"
1137                 }
1138             },
1139             {
1140                 "id": "rust_analyzer.inlayHints.background.parameterHints",
1141                 "description": "Background color of function parameter name inlay hints at the call site (overrides rust_analyzer.inlayHints.background)",
1142                 "defaults": {
1143                     "dark": "rust_analyzer.inlayHints.background",
1144                     "light": "rust_analyzer.inlayHints.background",
1145                     "highContrast": "rust_analyzer.inlayHints.background"
1146                 }
1147             },
1148             {
1149                 "id": "rust_analyzer.syntaxTreeBorder",
1150                 "description": "Color of the border displayed in the Rust source code for the selected syntax node (see \"Show Syntax Tree\" command)",
1151                 "defaults": {
1152                     "dark": "#ffffff",
1153                     "light": "#b700ff",
1154                     "highContrast": "#b700ff"
1155                 }
1156             }
1157         ],
1158         "semanticTokenTypes": [
1159             {
1160                 "id": "angle",
1161                 "description": "Style for < or >",
1162                 "superType": "punctuation"
1163             },
1164             {
1165                 "id": "arithmetic",
1166                 "description": "Style for arithmetic operators",
1167                 "superType": "operator"
1168             },
1169             {
1170                 "id": "attribute",
1171                 "description": "Style for attributes"
1172             },
1173             {
1174                 "id": "attributeBracket",
1175                 "description": "Style for attribute invocation brackets, that is the `#[` and `]` tokens",
1176                 "superType": "punctuation"
1177             },
1178             {
1179                 "id": "bitwise",
1180                 "description": "Style for bitwise operators",
1181                 "superType": "operator"
1182             },
1183             {
1184                 "id": "boolean",
1185                 "description": "Style for boolean literals",
1186                 "superType": "keyword"
1187             },
1188             {
1189                 "id": "brace",
1190                 "description": "Style for { or }",
1191                 "superType": "punctuation"
1192             },
1193             {
1194                 "id": "bracket",
1195                 "description": "Style for [ or ]",
1196                 "superType": "punctuation"
1197             },
1198             {
1199                 "id": "builtinAttribute",
1200                 "description": "Style for builtin attributes",
1201                 "superType": "attribute"
1202             },
1203             {
1204                 "id": "builtinType",
1205                 "description": "Style for builtin types",
1206                 "superType": "type"
1207             },
1208             {
1209                 "id": "char",
1210                 "description": "Style for character literals",
1211                 "superType": "type"
1212             },
1213             {
1214                 "id": "colon",
1215                 "description": "Style for :",
1216                 "superType": "punctuation"
1217             },
1218             {
1219                 "id": "comma",
1220                 "description": "Style for ,",
1221                 "superType": "punctuation"
1222             },
1223             {
1224                 "id": "comparison",
1225                 "description": "Style for comparison operators",
1226                 "superType": "operator"
1227             },
1228             {
1229                 "id": "constParameter",
1230                 "description": "Style for const generics"
1231             },
1232             {
1233                 "id": "derive",
1234                 "description": "Style for derives",
1235                 "superType": "attribute"
1236             },
1237             {
1238                 "id": "dot",
1239                 "description": "Style for .",
1240                 "superType": "punctuation"
1241             },
1242             {
1243                 "id": "escapeSequence",
1244                 "description": "Style for char escapes in strings"
1245             },
1246             {
1247                 "id": "formatSpecifier",
1248                 "description": "Style for {} placeholders in format strings"
1249             },
1250             {
1251                 "id": "label",
1252                 "description": "Style for labels"
1253             },
1254             {
1255                 "id": "lifetime",
1256                 "description": "Style for lifetimes"
1257             },
1258             {
1259                 "id": "logical",
1260                 "description": "Style for logic operators",
1261                 "superType": "operator"
1262             },
1263             {
1264                 "id": "operator",
1265                 "description": "Style for operators",
1266                 "superType": "punctuation"
1267             },
1268             {
1269                 "id": "parenthesis",
1270                 "description": "Style for ( or )",
1271                 "superType": "punctuation"
1272             },
1273             {
1274                 "id": "punctuation",
1275                 "description": "Style for generic punctuation"
1276             },
1277             {
1278                 "id": "selfKeyword",
1279                 "description": "Style for the self keyword",
1280                 "superType": "keyword"
1281             },
1282             {
1283                 "id": "semicolon",
1284                 "description": "Style for ;",
1285                 "superType": "punctuation"
1286             },
1287             {
1288                 "id": "typeAlias",
1289                 "description": "Style for type aliases",
1290                 "superType": "type"
1291             },
1292             {
1293                 "id": "union",
1294                 "description": "Style for C-style untagged unions",
1295                 "superType": "type"
1296             },
1297             {
1298                 "id": "unresolvedReference",
1299                 "description": "Style for names which can not be resolved due to compilation errors"
1300             }
1301         ],
1302         "semanticTokenModifiers": [
1303             {
1304                 "id": "async",
1305                 "description": "Style for async functions and the `async` and `await` keywords"
1306             },
1307             {
1308                 "id": "attribute",
1309                 "description": "Style for elements within attributes"
1310             },
1311             {
1312                 "id": "callable",
1313                 "description": "Style for locals whose types implements one of the `Fn*` traits"
1314             },
1315             {
1316                 "id": "constant",
1317                 "description": "Style for compile-time constants"
1318             },
1319             {
1320                 "id": "consuming",
1321                 "description": "Style for locals that are being consumed when use in a function call"
1322             },
1323             {
1324                 "id": "controlFlow",
1325                 "description": "Style for control-flow related tokens, this includes the `?` operator"
1326             },
1327             {
1328                 "id": "crateRoot",
1329                 "description": "Style for names resolving to a crate root"
1330             },
1331             {
1332                 "id": "injected",
1333                 "description": "Style for doc-string injected highlighting like rust source blocks in documentation"
1334             },
1335             {
1336                 "id": "intraDocLink",
1337                 "description": "Style for intra doc links in doc-strings"
1338             },
1339             {
1340                 "id": "library",
1341                 "description": "Style for items that are defined outside of the current crate"
1342             },
1343             {
1344                 "id": "mutable",
1345                 "description": "Style for mutable locals and statics as well as functions taking `&mut self`"
1346             },
1347             {
1348                 "id": "public",
1349                 "description": "Style tems that are from the current crate and are `pub`"
1350             },
1351             {
1352                 "id": "reference",
1353                 "description": "Style for locals behind a reference and functions taking `self` by reference"
1354             },
1355             {
1356                 "id": "trait",
1357                 "description": "Style for associated trait items"
1358             },
1359             {
1360                 "id": "unsafe",
1361                 "description": "Style for unsafe operations, like unsafe function calls, as well as the `unsafe` token"
1362             }
1363         ],
1364         "semanticTokenScopes": [
1365             {
1366                 "language": "rust",
1367                 "scopes": {
1368                     "attribute": [
1369                         "meta.attribute.rust"
1370                     ],
1371                     "boolean": [
1372                         "constant.language.boolean.rust"
1373                     ],
1374                     "builtinType": [
1375                         "support.type.primitive.rust"
1376                     ],
1377                     "constParameter": [
1378                         "constant.other.caps.rust"
1379                     ],
1380                     "enum": [
1381                         "entity.name.type.enum.rust"
1382                     ],
1383                     "formatSpecifier": [
1384                         "punctuation.section.embedded.rust"
1385                     ],
1386                     "function": [
1387                         "entity.name.function.rust"
1388                     ],
1389                     "interface": [
1390                         "entity.name.type.trait.rust"
1391                     ],
1392                     "keyword": [
1393                         "keyword.other.rust"
1394                     ],
1395                     "keyword.controlFlow": [
1396                         "keyword.control.rust"
1397                     ],
1398                     "lifetime": [
1399                         "storage.modifier.lifetime.rust"
1400                     ],
1401                     "method": [
1402                         "entity.name.function.rust"
1403                     ],
1404                     "struct": [
1405                         "entity.name.type.struct.rust"
1406                     ],
1407                     "typeAlias": [
1408                         "entity.name.type.declaration.rust"
1409                     ],
1410                     "union": [
1411                         "entity.name.type.union.rust"
1412                     ],
1413                     "variable": [
1414                         "variable.other.rust"
1415                     ],
1416                     "variable.constant": [
1417                         "variable.other.constant.rust"
1418                     ],
1419                     "*.mutable": [
1420                         "markup.underline"
1421                     ]
1422                 }
1423             }
1424         ],
1425         "menus": {
1426             "commandPalette": [
1427                 {
1428                     "command": "rust-analyzer.syntaxTree",
1429                     "when": "inRustProject"
1430                 },
1431                 {
1432                     "command": "rust-analyzer.viewHir",
1433                     "when": "inRustProject"
1434                 },
1435                 {
1436                     "command": "rust-analyzer.expandMacro",
1437                     "when": "inRustProject"
1438                 },
1439                 {
1440                     "command": "rust-analyzer.matchingBrace",
1441                     "when": "inRustProject"
1442                 },
1443                 {
1444                     "command": "rust-analyzer.parentModule",
1445                     "when": "inRustProject"
1446                 },
1447                 {
1448                     "command": "rust-analyzer.joinLines",
1449                     "when": "inRustProject"
1450                 },
1451                 {
1452                     "command": "rust-analyzer.run",
1453                     "when": "inRustProject"
1454                 },
1455                 {
1456                     "command": "rust-analyzer.debug",
1457                     "when": "inRustProject"
1458                 },
1459                 {
1460                     "command": "rust-analyzer.newDebugConfig",
1461                     "when": "inRustProject"
1462                 },
1463                 {
1464                     "command": "rust-analyzer.analyzerStatus",
1465                     "when": "inRustProject"
1466                 },
1467                 {
1468                     "command": "rust-analyzer.memoryUsage",
1469                     "when": "inRustProject"
1470                 },
1471                 {
1472                     "command": "rust-analyzer.reloadWorkspace",
1473                     "when": "inRustProject"
1474                 },
1475                 {
1476                     "command": "rust-analyzer.reload",
1477                     "when": "inRustProject"
1478                 },
1479                 {
1480                     "command": "rust-analyzer.updateGithubToken",
1481                     "when": "inRustProject"
1482                 },
1483                 {
1484                     "command": "rust-analyzer.onEnter",
1485                     "when": "inRustProject"
1486                 },
1487                 {
1488                     "command": "rust-analyzer.ssr",
1489                     "when": "inRustProject"
1490                 },
1491                 {
1492                     "command": "rust-analyzer.serverVersion",
1493                     "when": "inRustProject"
1494                 },
1495                 {
1496                     "command": "rust-analyzer.toggleInlayHints",
1497                     "when": "inRustProject"
1498                 },
1499                 {
1500                     "command": "rust-analyzer.openDocs",
1501                     "when": "inRustProject"
1502                 },
1503                 {
1504                     "command": "rust-analyzer.openCargoToml",
1505                     "when": "inRustProject"
1506                 }
1507             ],
1508             "editor/context": [
1509                 {
1510                     "command": "rust-analyzer.peekTests",
1511                     "when": "inRustProject",
1512                     "group": "navigation@1000"
1513                 }
1514             ]
1515         }
1516     }
1517 }