]> git.lizzy.rs Git - rust.git/blob - editors/code/package.json
Allow clients to configure the global workspace search limit
[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 --noEmit && 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 [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.",
440                     "default": true,
441                     "type": "boolean"
442                 },
443                 "rust-analyzer.assist.allowMergingIntoGlobImports": {
444                     "markdownDescription": "Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`.",
445                     "default": true,
446                     "type": "boolean"
447                 },
448                 "rust-analyzer.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.inlayHints.hideNamedConstructorHints": {
756                     "markdownDescription": "Whether to hide inlay hints for constructors.",
757                     "default": false,
758                     "type": "boolean"
759                 },
760                 "rust-analyzer.joinLines.joinElseIf": {
761                     "markdownDescription": "Join lines inserts else between consecutive ifs.",
762                     "default": true,
763                     "type": "boolean"
764                 },
765                 "rust-analyzer.joinLines.removeTrailingComma": {
766                     "markdownDescription": "Join lines removes trailing commas.",
767                     "default": true,
768                     "type": "boolean"
769                 },
770                 "rust-analyzer.joinLines.unwrapTrivialBlock": {
771                     "markdownDescription": "Join lines unwraps trivial blocks.",
772                     "default": true,
773                     "type": "boolean"
774                 },
775                 "rust-analyzer.joinLines.joinAssignments": {
776                     "markdownDescription": "Join lines merges consecutive declaration and initialization of an assignment.",
777                     "default": true,
778                     "type": "boolean"
779                 },
780                 "rust-analyzer.lens.debug": {
781                     "markdownDescription": "Whether to show `Debug` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
782                     "default": true,
783                     "type": "boolean"
784                 },
785                 "rust-analyzer.lens.enable": {
786                     "markdownDescription": "Whether to show CodeLens in Rust files.",
787                     "default": true,
788                     "type": "boolean"
789                 },
790                 "rust-analyzer.lens.implementations": {
791                     "markdownDescription": "Whether to show `Implementations` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
792                     "default": true,
793                     "type": "boolean"
794                 },
795                 "rust-analyzer.lens.run": {
796                     "markdownDescription": "Whether to show `Run` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
797                     "default": true,
798                     "type": "boolean"
799                 },
800                 "rust-analyzer.lens.methodReferences": {
801                     "markdownDescription": "Whether to show `Method References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
802                     "default": false,
803                     "type": "boolean"
804                 },
805                 "rust-analyzer.lens.references": {
806                     "markdownDescription": "Whether to show `References` lens for Struct, Enum, Union and Trait.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",
807                     "default": false,
808                     "type": "boolean"
809                 },
810                 "rust-analyzer.lens.enumVariantReferences": {
811                     "markdownDescription": "Whether to show `References` lens for Enum Variants.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",
812                     "default": false,
813                     "type": "boolean"
814                 },
815                 "rust-analyzer.lens.forceCustomCommands": {
816                     "markdownDescription": "Internal config: use custom client-side commands even when the\nclient doesn't set the corresponding capability.",
817                     "default": true,
818                     "type": "boolean"
819                 },
820                 "rust-analyzer.linkedProjects": {
821                     "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.",
822                     "default": [],
823                     "type": "array",
824                     "items": {
825                         "type": [
826                             "string",
827                             "object"
828                         ]
829                     }
830                 },
831                 "rust-analyzer.lruCapacity": {
832                     "markdownDescription": "Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.",
833                     "default": null,
834                     "type": [
835                         "null",
836                         "integer"
837                     ],
838                     "minimum": 0
839                 },
840                 "rust-analyzer.notifications.cargoTomlNotFound": {
841                     "markdownDescription": "Whether to show `can't find Cargo.toml` error message.",
842                     "default": true,
843                     "type": "boolean"
844                 },
845                 "rust-analyzer.procMacro.enable": {
846                     "markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.",
847                     "default": true,
848                     "type": "boolean"
849                 },
850                 "rust-analyzer.procMacro.server": {
851                     "markdownDescription": "Internal config, path to proc-macro server executable (typically,\nthis is rust-analyzer itself, but we override this in tests).",
852                     "default": null,
853                     "type": [
854                         "null",
855                         "string"
856                     ]
857                 },
858                 "rust-analyzer.runnables.overrideCargo": {
859                     "markdownDescription": "Command to be executed instead of 'cargo' for runnables.",
860                     "default": null,
861                     "type": [
862                         "null",
863                         "string"
864                     ]
865                 },
866                 "rust-analyzer.runnables.cargoExtraArgs": {
867                     "markdownDescription": "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.",
868                     "default": [],
869                     "type": "array",
870                     "items": {
871                         "type": "string"
872                     }
873                 },
874                 "rust-analyzer.rustcSource": {
875                     "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.",
876                     "default": null,
877                     "type": [
878                         "null",
879                         "string"
880                     ]
881                 },
882                 "rust-analyzer.rustfmt.extraArgs": {
883                     "markdownDescription": "Additional arguments to `rustfmt`.",
884                     "default": [],
885                     "type": "array",
886                     "items": {
887                         "type": "string"
888                     }
889                 },
890                 "rust-analyzer.rustfmt.overrideCommand": {
891                     "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nformatting.",
892                     "default": null,
893                     "type": [
894                         "null",
895                         "array"
896                     ],
897                     "items": {
898                         "type": "string"
899                     }
900                 },
901                 "rust-analyzer.rustfmt.enableRangeFormatting": {
902                     "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.",
903                     "default": false,
904                     "type": "boolean"
905                 },
906                 "rust-analyzer.workspace.symbol.search.scope": {
907                     "markdownDescription": "Workspace symbol search scope.",
908                     "default": "workspace",
909                     "type": "string",
910                     "enum": [
911                         "workspace",
912                         "workspace_and_dependencies"
913                     ],
914                     "enumDescriptions": [
915                         "Search in current workspace only",
916                         "Search in current workspace and dependencies"
917                     ]
918                 },
919                 "rust-analyzer.workspace.symbol.search.kind": {
920                     "markdownDescription": "Workspace symbol search kind.",
921                     "default": "only_types",
922                     "type": "string",
923                     "enum": [
924                         "only_types",
925                         "all_symbols"
926                     ],
927                     "enumDescriptions": [
928                         "Search for types only",
929                         "Search for all symbols kinds"
930                     ]
931                 },
932                 "rust-analyzer.workspace.symbol.search.limit": {
933                     "markdownDescription": "Limits the number of items returned from a workspace symbol search (Defaults to 128).\nSome clients like vs-code issue new searches on result filtering and don't require all results to be returned in the initial search.\nOther clients requires all results upfront and might require a higher limit.",
934                     "default": 128,
935                     "type": "integer",
936                     "minimum": 0
937                 },
938                 "$generated-end": {}
939             }
940         },
941         "problemPatterns": [
942             {
943                 "name": "rustc",
944                 "patterns": [
945                     {
946                         "regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$",
947                         "severity": 1,
948                         "code": 2,
949                         "message": 3
950                     },
951                     {
952                         "regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$",
953                         "file": 1,
954                         "line": 2,
955                         "column": 3
956                     }
957                 ]
958             },
959             {
960                 "name": "rustc-json",
961                 "patterns": [
962                     {
963                         "regexp": "^.*\"message\":{\"message\":\"([^\"]*).*?\"file_name\":\"([^\"]+).*?\"line_start\":(\\d+).*?\"line_end\":(\\d+).*?\"column_start\":(\\d+).*?\"column_end\":(\\d+).*}$",
964                         "message": 1,
965                         "file": 2,
966                         "line": 3,
967                         "endLine": 4,
968                         "column": 5,
969                         "endColumn": 6
970                     }
971                 ]
972             }
973         ],
974         "languages": [
975             {
976                 "id": "ra_syntax_tree",
977                 "extensions": [
978                     ".rast"
979                 ]
980             },
981             {
982                 "id": "rust",
983                 "extensions": [
984                     ".rs"
985                 ],
986                 "aliases": [
987                     "Rust",
988                     "rs"
989                 ],
990                 "configuration": "language-configuration.json"
991             }
992         ],
993         "grammars": [
994             {
995                 "language": "ra_syntax_tree",
996                 "scopeName": "source.ra_syntax_tree",
997                 "path": "ra_syntax_tree.tmGrammar.json"
998             }
999         ],
1000         "problemMatchers": [
1001             {
1002                 "name": "rustc",
1003                 "owner": "rustc",
1004                 "source": "rustc",
1005                 "fileLocation": [
1006                     "autoDetect",
1007                     "${workspaceRoot}"
1008                 ],
1009                 "pattern": "$rustc"
1010             },
1011             {
1012                 "name": "rustc-json",
1013                 "owner": "rustc",
1014                 "source": "rustc",
1015                 "fileLocation": [
1016                     "autoDetect",
1017                     "${workspaceRoot}"
1018                 ],
1019                 "pattern": "$rustc-json"
1020             },
1021             {
1022                 "name": "rustc-watch",
1023                 "owner": "rustc",
1024                 "source": "rustc",
1025                 "fileLocation": [
1026                     "autoDetect",
1027                     "${workspaceRoot}"
1028                 ],
1029                 "background": {
1030                     "beginsPattern": "^\\[Running\\b",
1031                     "endsPattern": "^\\[Finished running\\b"
1032                 },
1033                 "pattern": "$rustc"
1034             }
1035         ],
1036         "colors": [
1037             {
1038                 "id": "rust_analyzer.inlayHints.foreground",
1039                 "description": "Foreground color of inlay hints (is overriden by more specific rust_analyzer.inlayHints.foreground.* configurations)",
1040                 "defaults": {
1041                     "dark": "#A0A0A0F0",
1042                     "light": "#747474",
1043                     "highContrast": "#BEBEBE"
1044                 }
1045             },
1046             {
1047                 "id": "rust_analyzer.inlayHints.background",
1048                 "description": "Background color of inlay hints (is overriden by more specific rust_analyzer.inlayHints.background.* configurations)",
1049                 "defaults": {
1050                     "dark": "#11223300",
1051                     "light": "#11223300",
1052                     "highContrast": "#11223300"
1053                 }
1054             },
1055             {
1056                 "id": "rust_analyzer.inlayHints.foreground.typeHints",
1057                 "description": "Foreground color of inlay type hints for variables (overrides rust_analyzer.inlayHints.foreground)",
1058                 "defaults": {
1059                     "dark": "rust_analyzer.inlayHints.foreground",
1060                     "light": "rust_analyzer.inlayHints.foreground",
1061                     "highContrast": "rust_analyzer.inlayHints.foreground"
1062                 }
1063             },
1064             {
1065                 "id": "rust_analyzer.inlayHints.foreground.chainingHints",
1066                 "description": "Foreground color of inlay type hints for method chains (overrides rust_analyzer.inlayHints.foreground)",
1067                 "defaults": {
1068                     "dark": "rust_analyzer.inlayHints.foreground",
1069                     "light": "rust_analyzer.inlayHints.foreground",
1070                     "highContrast": "rust_analyzer.inlayHints.foreground"
1071                 }
1072             },
1073             {
1074                 "id": "rust_analyzer.inlayHints.foreground.parameterHints",
1075                 "description": "Foreground color of function parameter name inlay hints at the call site (overrides rust_analyzer.inlayHints.foreground)",
1076                 "defaults": {
1077                     "dark": "rust_analyzer.inlayHints.foreground",
1078                     "light": "rust_analyzer.inlayHints.foreground",
1079                     "highContrast": "rust_analyzer.inlayHints.foreground"
1080                 }
1081             },
1082             {
1083                 "id": "rust_analyzer.inlayHints.background.typeHints",
1084                 "description": "Background color of inlay type hints for variables (overrides rust_analyzer.inlayHints.background)",
1085                 "defaults": {
1086                     "dark": "rust_analyzer.inlayHints.background",
1087                     "light": "rust_analyzer.inlayHints.background",
1088                     "highContrast": "rust_analyzer.inlayHints.background"
1089                 }
1090             },
1091             {
1092                 "id": "rust_analyzer.inlayHints.background.chainingHints",
1093                 "description": "Background color of inlay type hints for method chains (overrides rust_analyzer.inlayHints.background)",
1094                 "defaults": {
1095                     "dark": "rust_analyzer.inlayHints.background",
1096                     "light": "rust_analyzer.inlayHints.background",
1097                     "highContrast": "rust_analyzer.inlayHints.background"
1098                 }
1099             },
1100             {
1101                 "id": "rust_analyzer.inlayHints.background.parameterHints",
1102                 "description": "Background color of function parameter name inlay hints at the call site (overrides rust_analyzer.inlayHints.background)",
1103                 "defaults": {
1104                     "dark": "rust_analyzer.inlayHints.background",
1105                     "light": "rust_analyzer.inlayHints.background",
1106                     "highContrast": "rust_analyzer.inlayHints.background"
1107                 }
1108             },
1109             {
1110                 "id": "rust_analyzer.syntaxTreeBorder",
1111                 "description": "Color of the border displayed in the Rust source code for the selected syntax node (see \"Show Syntax Tree\" command)",
1112                 "defaults": {
1113                     "dark": "#ffffff",
1114                     "light": "#b700ff",
1115                     "highContrast": "#b700ff"
1116                 }
1117             }
1118         ],
1119         "semanticTokenTypes": [
1120             {
1121                 "id": "attribute",
1122                 "description": "Style for attributes"
1123             },
1124             {
1125                 "id": "boolean",
1126                 "description": "Style for boolean literals",
1127                 "superType": "keyword"
1128             },
1129             {
1130                 "id": "builtinType",
1131                 "description": "Style for builtin types",
1132                 "superType": "type"
1133             },
1134             {
1135                 "id": "lifetime",
1136                 "description": "Style for lifetimes"
1137             },
1138             {
1139                 "id": "selfKeyword",
1140                 "description": "Style for the self keyword",
1141                 "superType": "keyword"
1142             },
1143             {
1144                 "id": "typeAlias",
1145                 "description": "Style for type aliases",
1146                 "superType": "type"
1147             },
1148             {
1149                 "id": "union",
1150                 "description": "Style for C-style untagged unions",
1151                 "superType": "type"
1152             },
1153             {
1154                 "id": "unresolvedReference",
1155                 "description": "Style for names which can not be resolved due to compilation errors"
1156             },
1157             {
1158                 "id": "formatSpecifier",
1159                 "description": "Style for {} placeholders in format strings"
1160             },
1161             {
1162                 "id": "punctuation",
1163                 "description": "generic punctuation"
1164             },
1165             {
1166                 "id": "parenthesis",
1167                 "description": "( or )",
1168                 "superType": "punctuation"
1169             },
1170             {
1171                 "id": "bracket",
1172                 "description": "[ or ]",
1173                 "superType": "punctuation"
1174             },
1175             {
1176                 "id": "brace",
1177                 "description": "{ or }",
1178                 "superType": "punctuation"
1179             },
1180             {
1181                 "id": "angle",
1182                 "description": "< or >",
1183                 "superType": "punctuation"
1184             },
1185             {
1186                 "id": "comma",
1187                 "description": ",",
1188                 "superType": "punctuation"
1189             },
1190             {
1191                 "id": "colon",
1192                 "description": ":",
1193                 "superType": "punctuation"
1194             },
1195             {
1196                 "id": "semicolon",
1197                 "description": ";",
1198                 "superType": "punctuation"
1199             },
1200             {
1201                 "id": "dot",
1202                 "description": ".",
1203                 "superType": "punctuation"
1204             }
1205         ],
1206         "semanticTokenModifiers": [
1207             {
1208                 "id": "async",
1209                 "description": "Style for async functions and the `async` and `await` keywords"
1210             },
1211             {
1212                 "id": "attribute",
1213                 "description": "Style for elements within attributes"
1214             },
1215             {
1216                 "id": "constant",
1217                 "description": "Style for compile-time constants"
1218             },
1219             {
1220                 "id": "callable",
1221                 "description": "Style for locals whose types implements one of the `Fn*` traits"
1222             },
1223             {
1224                 "id": "consuming",
1225                 "description": "Style for locals that are being consumed when use in a function call"
1226             },
1227             {
1228                 "id": "controlFlow",
1229                 "description": "Style for control-flow related tokens, this includes the `?` operator"
1230             },
1231             {
1232                 "id": "definition",
1233                 "description": "Style for mutable bindings"
1234             },
1235             {
1236                 "id": "injected",
1237                 "description": "Style for doc-string injected highlighting like rust source blocks in documentation"
1238             },
1239             {
1240                 "id": "intraDocLink",
1241                 "description": "Style for intra doc links in doc-strings"
1242             },
1243             {
1244                 "id": "library",
1245                 "description": "Style for items that are defined outside of the current crate"
1246             },
1247             {
1248                 "id": "mutable",
1249                 "description": "Style for mutable locals and statics as well as functions taking `&mut self`"
1250             },
1251             {
1252                 "id": "public",
1253                 "description": "Style tems that are from the current crate and are `pub`"
1254             },
1255             {
1256                 "id": "reference",
1257                 "description": "Style for locals behind a reference and functions taking `self` by reference"
1258             },
1259             {
1260                 "id": "trait",
1261                 "description": "Style for associated trait items"
1262             },
1263             {
1264                 "id": "unsafe",
1265                 "description": "Style for unsafe operations, like unsafe function calls, as well as the `unsafe` token"
1266             }
1267         ],
1268         "semanticTokenScopes": [
1269             {
1270                 "language": "rust",
1271                 "scopes": {
1272                     "attribute": [
1273                         "meta.attribute.rust"
1274                     ],
1275                     "function.attribute": [
1276                         "entity.name.function.attribute.rust"
1277                     ],
1278                     "boolean": [
1279                         "constant.language.boolean.rust"
1280                     ],
1281                     "builtinType": [
1282                         "support.type.primitive.rust"
1283                     ],
1284                     "lifetime": [
1285                         "storage.modifier.lifetime.rust"
1286                     ],
1287                     "typeAlias": [
1288                         "entity.name.type.typeAlias.rust"
1289                     ],
1290                     "union": [
1291                         "entity.name.type.union.rust"
1292                     ],
1293                     "struct": [
1294                         "entity.name.type.struct.rust"
1295                     ],
1296                     "keyword": [
1297                         "keyword.other.rust"
1298                     ],
1299                     "keyword.controlFlow": [
1300                         "keyword.control.rust"
1301                     ],
1302                     "variable.constant": [
1303                         "variable.other.constant.rust"
1304                     ],
1305                     "formatSpecifier": [
1306                         "punctuation.section.embedded.rust"
1307                     ],
1308                     "*.mutable": [
1309                         "markup.underline"
1310                     ]
1311                 }
1312             }
1313         ],
1314         "menus": {
1315             "commandPalette": [
1316                 {
1317                     "command": "rust-analyzer.syntaxTree",
1318                     "when": "inRustProject"
1319                 },
1320                 {
1321                     "command": "rust-analyzer.viewHir",
1322                     "when": "inRustProject"
1323                 },
1324                 {
1325                     "command": "rust-analyzer.expandMacro",
1326                     "when": "inRustProject"
1327                 },
1328                 {
1329                     "command": "rust-analyzer.matchingBrace",
1330                     "when": "inRustProject"
1331                 },
1332                 {
1333                     "command": "rust-analyzer.parentModule",
1334                     "when": "inRustProject"
1335                 },
1336                 {
1337                     "command": "rust-analyzer.joinLines",
1338                     "when": "inRustProject"
1339                 },
1340                 {
1341                     "command": "rust-analyzer.run",
1342                     "when": "inRustProject"
1343                 },
1344                 {
1345                     "command": "rust-analyzer.debug",
1346                     "when": "inRustProject"
1347                 },
1348                 {
1349                     "command": "rust-analyzer.newDebugConfig",
1350                     "when": "inRustProject"
1351                 },
1352                 {
1353                     "command": "rust-analyzer.analyzerStatus",
1354                     "when": "inRustProject"
1355                 },
1356                 {
1357                     "command": "rust-analyzer.memoryUsage",
1358                     "when": "inRustProject"
1359                 },
1360                 {
1361                     "command": "rust-analyzer.reloadWorkspace",
1362                     "when": "inRustProject"
1363                 },
1364                 {
1365                     "command": "rust-analyzer.reload",
1366                     "when": "inRustProject"
1367                 },
1368                 {
1369                     "command": "rust-analyzer.updateGithubToken",
1370                     "when": "inRustProject"
1371                 },
1372                 {
1373                     "command": "rust-analyzer.onEnter",
1374                     "when": "inRustProject"
1375                 },
1376                 {
1377                     "command": "rust-analyzer.ssr",
1378                     "when": "inRustProject"
1379                 },
1380                 {
1381                     "command": "rust-analyzer.serverVersion",
1382                     "when": "inRustProject"
1383                 },
1384                 {
1385                     "command": "rust-analyzer.toggleInlayHints",
1386                     "when": "inRustProject"
1387                 },
1388                 {
1389                     "command": "rust-analyzer.openDocs",
1390                     "when": "inRustProject"
1391                 },
1392                 {
1393                     "command": "rust-analyzer.openCargoToml",
1394                     "when": "inRustProject"
1395                 }
1396             ],
1397             "editor/context": [
1398                 {
1399                     "command": "rust-analyzer.peekTests",
1400                     "when": "inRustProject",
1401                     "group": "navigation@1000"
1402                 }
1403             ]
1404         }
1405     }
1406 }