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