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