2 "name": "rust-analyzer",
3 "displayName": "rust-analyzer",
4 "description": "An alternative rust language server to the RLS",
8 "version": "0.4.0-dev",
10 "publisher": "matklad",
12 "url": "https://github.com/rust-analyzer/rust-analyzer.git",
15 "homepage": "https://rust-analyzer.github.io/",
16 "license": "MIT OR Apache-2.0",
21 "Programming Languages"
26 "enableProposedApi": true,
28 "vscode:prepublish": "tsc && rollup -c",
29 "package": "vsce package -o rust-analyzer.vsix",
31 "watch": "tsc --watch",
32 "lint": "tsfmt --verify && eslint -c .eslintrc.js --ext ts ./src ./tests",
33 "fix": " tsfmt -r && eslint -c .eslintrc.js --ext ts ./src ./tests --fix",
34 "pretest": "npm run build",
35 "test": "node ./out/tests/runTests.js"
38 "https-proxy-agent": "^5.0.0",
39 "node-fetch": "^2.6.1",
40 "vscode-languageclient": "^7.1.0-next.4"
43 "@rollup/plugin-commonjs": "^17.0.0",
44 "@rollup/plugin-node-resolve": "^11.0.0",
45 "@types/glob": "^7.1.3",
46 "@types/mocha": "^8.0.4",
47 "@types/node": "~12.12.6",
48 "@types/node-fetch": "^2.5.7",
49 "@types/vscode": "^1.53.0",
50 "@typescript-eslint/eslint-plugin": "^4.9.0",
51 "@typescript-eslint/parser": "^4.9.0",
57 "typescript": "^4.1.2",
58 "typescript-formatter": "^7.2.2",
60 "vscode-test": "^1.5.1"
64 "onCommand:rust-analyzer.analyzerStatus",
65 "onCommand:rust-analyzer.memoryUsage",
66 "onCommand:rust-analyzer.reloadWorkspace",
67 "workspaceContains:**/Cargo.toml"
69 "main": "./out/src/main",
92 "patternProperties": {
103 "command": "rust-analyzer.syntaxTree",
104 "title": "Show Syntax Tree",
105 "category": "Rust Analyzer"
108 "command": "rust-analyzer.viewHir",
110 "category": "Rust Analyzer"
113 "command": "rust-analyzer.expandMacro",
114 "title": "Expand macro recursively",
115 "category": "Rust Analyzer"
118 "command": "rust-analyzer.matchingBrace",
119 "title": "Find matching brace",
120 "category": "Rust Analyzer"
123 "command": "rust-analyzer.parentModule",
124 "title": "Locate parent module",
125 "category": "Rust Analyzer"
128 "command": "rust-analyzer.joinLines",
129 "title": "Join lines",
130 "category": "Rust Analyzer"
133 "command": "rust-analyzer.run",
135 "category": "Rust Analyzer"
138 "command": "rust-analyzer.copyRunCommandLine",
139 "title": "Copy Run Command Line",
140 "category": "Rust Analyzer"
143 "command": "rust-analyzer.debug",
145 "category": "Rust Analyzer"
148 "command": "rust-analyzer.newDebugConfig",
149 "title": "Generate launch configuration",
150 "category": "Rust Analyzer"
153 "command": "rust-analyzer.analyzerStatus",
155 "category": "Rust Analyzer"
158 "command": "rust-analyzer.memoryUsage",
159 "title": "Memory Usage (Clears Database)",
160 "category": "Rust Analyzer"
163 "command": "rust-analyzer.reloadWorkspace",
164 "title": "Reload workspace",
165 "category": "Rust Analyzer"
168 "command": "rust-analyzer.reload",
169 "title": "Restart server",
170 "category": "Rust Analyzer"
173 "command": "rust-analyzer.updateGithubToken",
174 "title": "Update Github API token",
175 "category": "Rust Analyzer"
178 "command": "rust-analyzer.onEnter",
179 "title": "Enhanced enter key",
180 "category": "Rust Analyzer"
183 "command": "rust-analyzer.ssr",
184 "title": "Structural Search Replace",
185 "category": "Rust Analyzer"
188 "command": "rust-analyzer.serverVersion",
189 "title": "Show RA Version",
190 "category": "Rust Analyzer"
193 "command": "rust-analyzer.toggleInlayHints",
194 "title": "Toggle inlay hints",
195 "category": "Rust Analyzer"
198 "command": "rust-analyzer.openDocs",
199 "title": "Open docs under cursor",
200 "category": "Rust Analyzer"
203 "command": "rust-analyzer.openCargoToml",
204 "title": "Open Cargo.toml",
205 "category": "Rust Analyzer"
208 "command": "rust-analyzer.peekTests",
209 "title": "Peek related tests",
210 "category": "Rust Analyzer"
213 "command": "rust-analyzer.moveItemUp",
214 "title": "Move item up",
215 "category": "Rust Analyzer"
218 "command": "rust-analyzer.moveItemDown",
219 "title": "Move item down",
220 "category": "Rust Analyzer"
225 "command": "rust-analyzer.parentModule",
226 "key": "ctrl+shift+u",
227 "when": "editorTextFocus && editorLangId == rust"
230 "command": "rust-analyzer.matchingBrace",
231 "key": "ctrl+shift+m",
232 "when": "editorTextFocus && editorLangId == rust"
235 "command": "rust-analyzer.joinLines",
236 "key": "ctrl+shift+j",
237 "when": "editorTextFocus && editorLangId == rust"
242 "title": "Rust Analyzer",
244 "rust-analyzer.cargoRunner": {
250 "description": "Custom cargo runner extension ID."
252 "rust-analyzer.runnableEnv": {
264 "description": "Runnable name mask"
268 "description": "Variables in form of { \"key\": \"value\"}"
275 "description": "Variables in form of { \"key\": \"value\"}"
279 "markdownDescription": "Environment variables passed to the runnable launched using `Test` or `Debug` lens or `rust-analyzer.run` command."
281 "rust-analyzer.inlayHints.enable": {
284 "description": "Whether to show inlay hints."
286 "rust-analyzer.updates.channel": {
293 "markdownEnumDescriptions": [
294 "`stable` updates are shipped weekly, they don't contain cutting-edge features from VSCode proposed APIs but have less bugs in general.",
295 "`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**."
297 "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."
299 "rust-analyzer.updates.askBeforeDownload": {
302 "description": "Whether to ask for permission before downloading any files from the Internet."
304 "rust-analyzer.server.path": {
310 "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"
312 "rust-analyzer.server.extraEnv": {
318 "markdownDescription": "Extra environment variables that will be passed to the rust-analyzer executable. Useful for passing e.g. `RA_LOG` for debugging."
320 "rust-analyzer.trace.server": {
328 "enumDescriptions": [
334 "description": "Trace requests to the rust-analyzer (this is usually overly verbose and not recommended for regular users)."
336 "rust-analyzer.trace.extension": {
337 "description": "Enable logging of VS Code extensions itself.",
341 "rust-analyzer.debug.engine": {
345 "vadimcn.vscode-lldb",
349 "description": "Preferred debug engine.",
350 "markdownEnumDescriptions": [
351 "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).",
352 "Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)",
353 "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)"
356 "rust-analyzer.debug.sourceFileMap": {
357 "type": ["object", "string"],
359 "description": "Optional source file mappings passed to the debug engine.",
361 "/rustc/<id>": "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust"
364 "rust-analyzer.debug.openDebugPane": {
365 "markdownDescription": "Whether to open up the `Debug Panel` on debugging start.",
369 "rust-analyzer.debug.engineSettings": {
372 "markdownDescription": "Optional settings passed to the debug engine. Example: `{ \"lldb\": { \"terminal\":\"external\"} }`"
374 "$generated-start": false,
375 "rust-analyzer.assist.importMergeBehavior": {
376 "markdownDescription": "The strategy to use when inserting new imports or merging imports.",
384 "enumDescriptions": [
386 "Merge all layers of the import trees",
387 "Only merge the last layer of the import trees"
390 "rust-analyzer.assist.importPrefix": {
391 "markdownDescription": "The path structure for newly inserted paths to use.",
399 "enumDescriptions": [
400 "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.",
401 "Prefix all import paths with `self` if they don't begin with `self`, `super`, `crate` or a crate name.",
402 "Force import paths to be absolute by always starting them with `crate` or the crate name they refer to."
405 "rust-analyzer.assist.importGroup": {
406 "markdownDescription": "Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.",
410 "rust-analyzer.callInfo.full": {
411 "markdownDescription": "Show function name and docs in parameter hints.",
415 "rust-analyzer.cargo.autoreload": {
416 "markdownDescription": "Automatically refresh project info via `cargo metadata` on\n`Cargo.toml` changes.",
420 "rust-analyzer.cargo.allFeatures": {
421 "markdownDescription": "Activate all available features (`--all-features`).",
425 "rust-analyzer.cargo.features": {
426 "markdownDescription": "List of features to activate.",
433 "rust-analyzer.cargo.runBuildScripts": {
434 "markdownDescription": "Run build scripts (`build.rs`) for more precise code analysis.",
438 "rust-analyzer.cargo.useRustcWrapperForBuildScripts": {
439 "markdownDescription": "Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to\navoid compiling unnecessary things.",
443 "rust-analyzer.cargo.noDefaultFeatures": {
444 "markdownDescription": "Do not activate the `default` feature.",
448 "rust-analyzer.cargo.target": {
449 "markdownDescription": "Compilation target (target triple).",
456 "rust-analyzer.cargo.noSysroot": {
457 "markdownDescription": "Internal config for debugging, disables loading of sysroot crates.",
461 "rust-analyzer.checkOnSave.enable": {
462 "markdownDescription": "Run specified `cargo check` command for diagnostics on save.",
466 "rust-analyzer.checkOnSave.allFeatures": {
467 "markdownDescription": "Check with all features (`--all-features`).\nDefaults to `#rust-analyzer.cargo.allFeatures#`.",
474 "rust-analyzer.checkOnSave.allTargets": {
475 "markdownDescription": "Check all targets and tests (`--all-targets`).",
479 "rust-analyzer.checkOnSave.command": {
480 "markdownDescription": "Cargo command to use for `cargo check`.",
484 "rust-analyzer.checkOnSave.noDefaultFeatures": {
485 "markdownDescription": "Do not activate the `default` feature.",
492 "rust-analyzer.checkOnSave.target": {
493 "markdownDescription": "Check for a specific target. Defaults to\n`#rust-analyzer.cargo.target#`.",
500 "rust-analyzer.checkOnSave.extraArgs": {
501 "markdownDescription": "Extra arguments for `cargo check`.",
508 "rust-analyzer.checkOnSave.features": {
509 "markdownDescription": "List of features to activate. Defaults to\n`#rust-analyzer.cargo.features#`.",
519 "rust-analyzer.checkOnSave.overrideCommand": {
520 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nchecking. The command should include `--message-format=json` or\nsimilar option.",
530 "rust-analyzer.completion.addCallArgumentSnippets": {
531 "markdownDescription": "Whether to add argument snippets when completing functions.",
535 "rust-analyzer.completion.addCallParenthesis": {
536 "markdownDescription": "Whether to add parenthesis when completing functions.",
540 "rust-analyzer.completion.postfix.enable": {
541 "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.",
545 "rust-analyzer.completion.autoimport.enable": {
546 "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.",
550 "rust-analyzer.diagnostics.enable": {
551 "markdownDescription": "Whether to show native rust-analyzer diagnostics.",
555 "rust-analyzer.diagnostics.enableExperimental": {
556 "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might\nhave more false positives than usual.",
560 "rust-analyzer.diagnostics.disabled": {
561 "markdownDescription": "List of rust-analyzer diagnostics to disable.",
569 "rust-analyzer.diagnostics.remapPrefix": {
570 "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`.",
574 "rust-analyzer.diagnostics.warningsAsHint": {
575 "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`.",
582 "rust-analyzer.diagnostics.warningsAsInfo": {
583 "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`.",
590 "rust-analyzer.files.watcher": {
591 "markdownDescription": "Controls file watching implementation.",
595 "rust-analyzer.files.excludeDirs": {
596 "markdownDescription": "These directories will be ignored by rust-analyzer.",
603 "rust-analyzer.hoverActions.debug": {
604 "markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
608 "rust-analyzer.hoverActions.enable": {
609 "markdownDescription": "Whether to show HoverActions in Rust files.",
613 "rust-analyzer.hoverActions.gotoTypeDef": {
614 "markdownDescription": "Whether to show `Go to Type Definition` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
618 "rust-analyzer.hoverActions.implementations": {
619 "markdownDescription": "Whether to show `Implementations` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
623 "rust-analyzer.hoverActions.run": {
624 "markdownDescription": "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
628 "rust-analyzer.hoverActions.linksInHover": {
629 "markdownDescription": "Use markdown syntax for links in hover.",
633 "rust-analyzer.inlayHints.chainingHints": {
634 "markdownDescription": "Whether to show inlay type hints for method chains.",
638 "rust-analyzer.inlayHints.maxLength": {
639 "markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.",
647 "rust-analyzer.inlayHints.parameterHints": {
648 "markdownDescription": "Whether to show function parameter name inlay hints at the call\nsite.",
652 "rust-analyzer.inlayHints.typeHints": {
653 "markdownDescription": "Whether to show inlay type hints for variables.",
657 "rust-analyzer.lens.debug": {
658 "markdownDescription": "Whether to show `Debug` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
662 "rust-analyzer.lens.enable": {
663 "markdownDescription": "Whether to show CodeLens in Rust files.",
667 "rust-analyzer.lens.implementations": {
668 "markdownDescription": "Whether to show `Implementations` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
672 "rust-analyzer.lens.run": {
673 "markdownDescription": "Whether to show `Run` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
677 "rust-analyzer.lens.methodReferences": {
678 "markdownDescription": "Whether to show `Method References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
682 "rust-analyzer.lens.references": {
683 "markdownDescription": "Whether to show `References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
687 "rust-analyzer.linkedProjects": {
688 "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.",
698 "rust-analyzer.lruCapacity": {
699 "markdownDescription": "Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.",
707 "rust-analyzer.notifications.cargoTomlNotFound": {
708 "markdownDescription": "Whether to show `can't find Cargo.toml` error message.",
712 "rust-analyzer.procMacro.enable": {
713 "markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.",
717 "rust-analyzer.procMacro.server": {
718 "markdownDescription": "Internal config, path to proc-macro server executable (typically,\nthis is rust-analyzer itself, but we override this in tests).",
725 "rust-analyzer.runnables.overrideCargo": {
726 "markdownDescription": "Command to be executed instead of 'cargo' for runnables.",
733 "rust-analyzer.runnables.cargoExtraArgs": {
734 "markdownDescription": "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.",
741 "rust-analyzer.rustcSource": {
742 "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.\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 is not reloaded automatically; you must restart rust-analyzer for it to take effect.",
749 "rust-analyzer.rustfmt.extraArgs": {
750 "markdownDescription": "Additional arguments to `rustfmt`.",
757 "rust-analyzer.rustfmt.overrideCommand": {
758 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nformatting.",
768 "$generated-end": false
776 "regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$",
782 "regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$",
790 "name": "rustc-json",
793 "regexp": "^.*\"message\":{\"message\":\"([^\"]*).*?\"file_name\":\"([^\"]+).*?\"line_start\":(\\d+).*?\"line_end\":(\\d+).*?\"column_start\":(\\d+).*?\"column_end\":(\\d+).*}$",
806 "id": "ra_syntax_tree",
820 "configuration": "language-configuration.json"
825 "language": "ra_syntax_tree",
826 "scopeName": "source.ra_syntax_tree",
827 "path": "ra_syntax_tree.tmGrammar.json"
842 "name": "rustc-json",
849 "pattern": "$rustc-json"
852 "name": "rustc-watch",
860 "beginsPattern": "^\\[Running\\b",
861 "endsPattern": "^\\[Finished running\\b"
868 "id": "rust_analyzer.inlayHints.foreground",
869 "description": "Foreground color of inlay hints (is overriden by more specific rust_analyzer.inlayHints.foreground.* configurations)",
873 "highContrast": "#BEBEBE"
877 "id": "rust_analyzer.inlayHints.background",
878 "description": "Background color of inlay hints (is overriden by more specific rust_analyzer.inlayHints.background.* configurations)",
881 "light": "#11223300",
882 "highContrast": "#11223300"
886 "id": "rust_analyzer.inlayHints.foreground.typeHints",
887 "description": "Foreground color of inlay type hints for variables (overrides rust_analyzer.inlayHints.foreground)",
889 "dark": "rust_analyzer.inlayHints.foreground",
890 "light": "rust_analyzer.inlayHints.foreground",
891 "highContrast": "rust_analyzer.inlayHints.foreground"
895 "id": "rust_analyzer.inlayHints.foreground.chainingHints",
896 "description": "Foreground color of inlay type hints for method chains (overrides rust_analyzer.inlayHints.foreground)",
898 "dark": "rust_analyzer.inlayHints.foreground",
899 "light": "rust_analyzer.inlayHints.foreground",
900 "highContrast": "rust_analyzer.inlayHints.foreground"
904 "id": "rust_analyzer.inlayHints.foreground.parameterHints",
905 "description": "Foreground color of function parameter name inlay hints at the call site (overrides rust_analyzer.inlayHints.foreground)",
907 "dark": "rust_analyzer.inlayHints.foreground",
908 "light": "rust_analyzer.inlayHints.foreground",
909 "highContrast": "rust_analyzer.inlayHints.foreground"
913 "id": "rust_analyzer.inlayHints.background.typeHints",
914 "description": "Background color of inlay type hints for variables (overrides rust_analyzer.inlayHints.background)",
916 "dark": "rust_analyzer.inlayHints.background",
917 "light": "rust_analyzer.inlayHints.background",
918 "highContrast": "rust_analyzer.inlayHints.background"
922 "id": "rust_analyzer.inlayHints.background.chainingHints",
923 "description": "Background color of inlay type hints for method chains (overrides rust_analyzer.inlayHints.background)",
925 "dark": "rust_analyzer.inlayHints.background",
926 "light": "rust_analyzer.inlayHints.background",
927 "highContrast": "rust_analyzer.inlayHints.background"
931 "id": "rust_analyzer.inlayHints.background.parameterHints",
932 "description": "Background color of function parameter name inlay hints at the call site (overrides rust_analyzer.inlayHints.background)",
934 "dark": "rust_analyzer.inlayHints.background",
935 "light": "rust_analyzer.inlayHints.background",
936 "highContrast": "rust_analyzer.inlayHints.background"
940 "id": "rust_analyzer.syntaxTreeBorder",
941 "description": "Color of the border displayed in the Rust source code for the selected syntax node (see \"Show Syntax Tree\" command)",
945 "highContrast": "#b700ff"
949 "semanticTokenTypes": [
952 "description": "Style for attributes"
956 "description": "Style for boolean literals",
957 "superType": "keyword"
961 "description": "Style for builtin types",
966 "description": "Style for lifetimes"
970 "description": "Style for the self keyword",
971 "superType": "keyword"
975 "description": "Style for type aliases",
980 "description": "Style for C-style untagged unions",
984 "id": "unresolvedReference",
985 "description": "Style for names which can not be resolved due to compilation errors"
988 "id": "formatSpecifier",
989 "description": "Style for {} placeholders in format strings"
993 "description": "generic punctuation"
997 "description": "( or )",
998 "superType": "punctuation"
1002 "description": "[ or ]",
1003 "superType": "punctuation"
1007 "description": "{ or }",
1008 "superType": "punctuation"
1012 "description": "< or >",
1013 "superType": "punctuation"
1018 "superType": "punctuation"
1023 "superType": "punctuation"
1028 "superType": "punctuation"
1033 "superType": "punctuation"
1036 "semanticTokenModifiers": [
1039 "description": "Style for elements within attributes"
1043 "description": "Style for compile-time constants"
1046 "id": "controlFlow",
1047 "description": "Style for control flow keywords"
1051 "description": "Style for mutable bindings"
1055 "description": "Style for unsafe operations"
1059 "description": "Style for non-Copy lvalues consumed by method/function call"
1063 "description": "Style for variables/parameters that can be used in call expressions"
1066 "semanticTokenScopes": [
1071 "meta.attribute.rust"
1073 "function.attribute": [
1074 "entity.name.function.attribute.rust"
1077 "constant.language.boolean.rust"
1080 "support.type.primitive.rust"
1083 "storage.modifier.lifetime.rust"
1086 "entity.name.type.typeAlias.rust"
1089 "entity.name.type.union.rust"
1092 "entity.name.type.struct.rust"
1095 "keyword.other.rust"
1097 "keyword.controlFlow": [
1098 "keyword.control.rust"
1100 "variable.constant": [
1101 "variable.other.constant.rust"
1103 "formatSpecifier": [
1104 "punctuation.section.embedded.rust"
1115 "command": "rust-analyzer.syntaxTree",
1116 "when": "inRustProject"
1119 "command": "rust-analyzer.viewHir",
1120 "when": "inRustProject"
1123 "command": "rust-analyzer.expandMacro",
1124 "when": "inRustProject"
1127 "command": "rust-analyzer.matchingBrace",
1128 "when": "inRustProject"
1131 "command": "rust-analyzer.parentModule",
1132 "when": "inRustProject"
1135 "command": "rust-analyzer.joinLines",
1136 "when": "inRustProject"
1139 "command": "rust-analyzer.run",
1140 "when": "inRustProject"
1143 "command": "rust-analyzer.debug",
1144 "when": "inRustProject"
1147 "command": "rust-analyzer.newDebugConfig",
1148 "when": "inRustProject"
1151 "command": "rust-analyzer.analyzerStatus",
1152 "when": "inRustProject"
1155 "command": "rust-analyzer.memoryUsage",
1156 "when": "inRustProject"
1159 "command": "rust-analyzer.reloadWorkspace",
1160 "when": "inRustProject"
1163 "command": "rust-analyzer.reload",
1164 "when": "inRustProject"
1167 "command": "rust-analyzer.updateGithubToken",
1168 "when": "inRustProject"
1171 "command": "rust-analyzer.onEnter",
1172 "when": "inRustProject"
1175 "command": "rust-analyzer.ssr",
1176 "when": "inRustProject"
1179 "command": "rust-analyzer.serverVersion",
1180 "when": "inRustProject"
1183 "command": "rust-analyzer.toggleInlayHints",
1184 "when": "inRustProject"
1187 "command": "rust-analyzer.openDocs",
1188 "when": "inRustProject"
1191 "command": "rust-analyzer.openCargoToml",
1192 "when": "inRustProject"
1197 "command": "rust-analyzer.peekTests",
1198 "when": "inRustProject",
1199 "group": "navigation@1000"