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