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