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