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