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