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.viewCrateGraph",
114 "title": "View Crate Graph",
115 "category": "Rust Analyzer"
118 "command": "rust-analyzer.expandMacro",
119 "title": "Expand macro recursively",
120 "category": "Rust Analyzer"
123 "command": "rust-analyzer.matchingBrace",
124 "title": "Find matching brace",
125 "category": "Rust Analyzer"
128 "command": "rust-analyzer.parentModule",
129 "title": "Locate parent module",
130 "category": "Rust Analyzer"
133 "command": "rust-analyzer.joinLines",
134 "title": "Join lines",
135 "category": "Rust Analyzer"
138 "command": "rust-analyzer.run",
140 "category": "Rust Analyzer"
143 "command": "rust-analyzer.copyRunCommandLine",
144 "title": "Copy Run Command Line",
145 "category": "Rust Analyzer"
148 "command": "rust-analyzer.debug",
150 "category": "Rust Analyzer"
153 "command": "rust-analyzer.newDebugConfig",
154 "title": "Generate launch configuration",
155 "category": "Rust Analyzer"
158 "command": "rust-analyzer.analyzerStatus",
160 "category": "Rust Analyzer"
163 "command": "rust-analyzer.memoryUsage",
164 "title": "Memory Usage (Clears Database)",
165 "category": "Rust Analyzer"
168 "command": "rust-analyzer.reloadWorkspace",
169 "title": "Reload workspace",
170 "category": "Rust Analyzer"
173 "command": "rust-analyzer.reload",
174 "title": "Restart server",
175 "category": "Rust Analyzer"
178 "command": "rust-analyzer.updateGithubToken",
179 "title": "Update Github API token",
180 "category": "Rust Analyzer"
183 "command": "rust-analyzer.onEnter",
184 "title": "Enhanced enter key",
185 "category": "Rust Analyzer"
188 "command": "rust-analyzer.ssr",
189 "title": "Structural Search Replace",
190 "category": "Rust Analyzer"
193 "command": "rust-analyzer.serverVersion",
194 "title": "Show RA Version",
195 "category": "Rust Analyzer"
198 "command": "rust-analyzer.toggleInlayHints",
199 "title": "Toggle inlay hints",
200 "category": "Rust Analyzer"
203 "command": "rust-analyzer.openDocs",
204 "title": "Open docs under cursor",
205 "category": "Rust Analyzer"
208 "command": "rust-analyzer.openCargoToml",
209 "title": "Open Cargo.toml",
210 "category": "Rust Analyzer"
213 "command": "rust-analyzer.peekTests",
214 "title": "Peek related tests",
215 "category": "Rust Analyzer"
218 "command": "rust-analyzer.moveItemUp",
219 "title": "Move item up",
220 "category": "Rust Analyzer"
223 "command": "rust-analyzer.moveItemDown",
224 "title": "Move item down",
225 "category": "Rust Analyzer"
230 "command": "rust-analyzer.parentModule",
231 "key": "ctrl+shift+u",
232 "when": "editorTextFocus && editorLangId == rust"
235 "command": "rust-analyzer.matchingBrace",
236 "key": "ctrl+shift+m",
237 "when": "editorTextFocus && editorLangId == rust"
240 "command": "rust-analyzer.joinLines",
241 "key": "ctrl+shift+j",
242 "when": "editorTextFocus && editorLangId == rust"
247 "title": "Rust Analyzer",
249 "rust-analyzer.cargoRunner": {
255 "description": "Custom cargo runner extension ID."
257 "rust-analyzer.runnableEnv": {
269 "description": "Runnable name mask"
273 "description": "Variables in form of { \"key\": \"value\"}"
280 "description": "Variables in form of { \"key\": \"value\"}"
284 "markdownDescription": "Environment variables passed to the runnable launched using `Test` or `Debug` lens or `rust-analyzer.run` command."
286 "rust-analyzer.inlayHints.enable": {
289 "description": "Whether to show inlay hints."
291 "rust-analyzer.inlayHints.smallerHints": {
294 "description": "Whether inlay hints font size should be smaller than editor's font size."
296 "rust-analyzer.updates.channel": {
303 "markdownEnumDescriptions": [
304 "`stable` updates are shipped weekly, they don't contain cutting-edge features from VSCode proposed APIs but have less bugs in general.",
305 "`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**."
307 "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."
309 "rust-analyzer.updates.askBeforeDownload": {
312 "description": "Whether to ask for permission before downloading any files from the Internet."
314 "rust-analyzer.server.path": {
320 "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"
322 "rust-analyzer.server.extraEnv": {
328 "markdownDescription": "Extra environment variables that will be passed to the rust-analyzer executable. Useful for passing e.g. `RA_LOG` for debugging."
330 "rust-analyzer.trace.server": {
338 "enumDescriptions": [
344 "description": "Trace requests to the rust-analyzer (this is usually overly verbose and not recommended for regular users)."
346 "rust-analyzer.trace.extension": {
347 "description": "Enable logging of VS Code extensions itself.",
351 "rust-analyzer.debug.engine": {
355 "vadimcn.vscode-lldb",
359 "description": "Preferred debug engine.",
360 "markdownEnumDescriptions": [
361 "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).",
362 "Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)",
363 "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)"
366 "rust-analyzer.debug.sourceFileMap": {
372 "description": "Optional source file mappings passed to the debug engine.",
374 "/rustc/<id>": "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust"
377 "rust-analyzer.debug.openDebugPane": {
378 "markdownDescription": "Whether to open up the `Debug Panel` on debugging start.",
382 "rust-analyzer.debug.engineSettings": {
385 "markdownDescription": "Optional settings passed to the debug engine. Example: `{ \"lldb\": { \"terminal\":\"external\"} }`"
387 "$generated-start": false,
388 "rust-analyzer.assist.importMergeBehavior": {
389 "markdownDescription": "The strategy to use when inserting new imports or merging imports.",
397 "enumDescriptions": [
398 "Do not merge imports at all.",
399 "Merge imports from the same crate into a single `use` statement.",
400 "Merge imports from the same module into a single `use` statement."
403 "rust-analyzer.assist.importPrefix": {
404 "markdownDescription": "The path structure for newly inserted paths to use.",
412 "enumDescriptions": [
413 "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.",
414 "Prefix all import paths with `self` if they don't begin with `self`, `super`, `crate` or a crate name.",
415 "Force import paths to be absolute by always starting them with `crate` or the crate name they refer to."
418 "rust-analyzer.assist.importGroup": {
419 "markdownDescription": "Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.",
423 "rust-analyzer.callInfo.full": {
424 "markdownDescription": "Show function name and docs in parameter hints.",
428 "rust-analyzer.cargo.autoreload": {
429 "markdownDescription": "Automatically refresh project info via `cargo metadata` on\n`Cargo.toml` changes.",
433 "rust-analyzer.cargo.allFeatures": {
434 "markdownDescription": "Activate all available features (`--all-features`).",
438 "rust-analyzer.cargo.features": {
439 "markdownDescription": "List of features to activate.",
446 "rust-analyzer.cargo.runBuildScripts": {
447 "markdownDescription": "Run build scripts (`build.rs`) for more precise code analysis.",
451 "rust-analyzer.cargo.useRustcWrapperForBuildScripts": {
452 "markdownDescription": "Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to\navoid compiling unnecessary things.",
456 "rust-analyzer.cargo.noDefaultFeatures": {
457 "markdownDescription": "Do not activate the `default` feature.",
461 "rust-analyzer.cargo.target": {
462 "markdownDescription": "Compilation target (target triple).",
469 "rust-analyzer.cargo.noSysroot": {
470 "markdownDescription": "Internal config for debugging, disables loading of sysroot crates.",
474 "rust-analyzer.checkOnSave.enable": {
475 "markdownDescription": "Run specified `cargo check` command for diagnostics on save.",
479 "rust-analyzer.checkOnSave.allFeatures": {
480 "markdownDescription": "Check with all features (`--all-features`).\nDefaults to `#rust-analyzer.cargo.allFeatures#`.",
487 "rust-analyzer.checkOnSave.allTargets": {
488 "markdownDescription": "Check all targets and tests (`--all-targets`).",
492 "rust-analyzer.checkOnSave.command": {
493 "markdownDescription": "Cargo command to use for `cargo check`.",
497 "rust-analyzer.checkOnSave.noDefaultFeatures": {
498 "markdownDescription": "Do not activate the `default` feature.",
505 "rust-analyzer.checkOnSave.target": {
506 "markdownDescription": "Check for a specific target. Defaults to\n`#rust-analyzer.cargo.target#`.",
513 "rust-analyzer.checkOnSave.extraArgs": {
514 "markdownDescription": "Extra arguments for `cargo check`.",
521 "rust-analyzer.checkOnSave.features": {
522 "markdownDescription": "List of features to activate. Defaults to\n`#rust-analyzer.cargo.features#`.",
532 "rust-analyzer.checkOnSave.overrideCommand": {
533 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nchecking. The command should include `--message-format=json` or\nsimilar option.",
543 "rust-analyzer.completion.addCallArgumentSnippets": {
544 "markdownDescription": "Whether to add argument snippets when completing functions.",
548 "rust-analyzer.completion.addCallParenthesis": {
549 "markdownDescription": "Whether to add parenthesis when completing functions.",
553 "rust-analyzer.completion.postfix.enable": {
554 "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.",
558 "rust-analyzer.completion.autoimport.enable": {
559 "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.",
563 "rust-analyzer.diagnostics.enable": {
564 "markdownDescription": "Whether to show native rust-analyzer diagnostics.",
568 "rust-analyzer.diagnostics.enableExperimental": {
569 "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might\nhave more false positives than usual.",
573 "rust-analyzer.diagnostics.disabled": {
574 "markdownDescription": "List of rust-analyzer diagnostics to disable.",
582 "rust-analyzer.diagnostics.remapPrefix": {
583 "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`.",
587 "rust-analyzer.diagnostics.warningsAsHint": {
588 "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`.",
595 "rust-analyzer.diagnostics.warningsAsInfo": {
596 "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`.",
603 "rust-analyzer.files.watcher": {
604 "markdownDescription": "Controls file watching implementation.",
608 "rust-analyzer.files.excludeDirs": {
609 "markdownDescription": "These directories will be ignored by rust-analyzer.",
616 "rust-analyzer.hoverActions.debug": {
617 "markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
621 "rust-analyzer.hoverActions.enable": {
622 "markdownDescription": "Whether to show HoverActions in Rust files.",
626 "rust-analyzer.hoverActions.gotoTypeDef": {
627 "markdownDescription": "Whether to show `Go to Type Definition` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
631 "rust-analyzer.hoverActions.implementations": {
632 "markdownDescription": "Whether to show `Implementations` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
636 "rust-analyzer.hoverActions.run": {
637 "markdownDescription": "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
641 "rust-analyzer.hoverActions.linksInHover": {
642 "markdownDescription": "Use markdown syntax for links in hover.",
646 "rust-analyzer.inlayHints.chainingHints": {
647 "markdownDescription": "Whether to show inlay type hints for method chains.",
651 "rust-analyzer.inlayHints.maxLength": {
652 "markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.",
660 "rust-analyzer.inlayHints.parameterHints": {
661 "markdownDescription": "Whether to show function parameter name inlay hints at the call\nsite.",
665 "rust-analyzer.inlayHints.typeHints": {
666 "markdownDescription": "Whether to show inlay type hints for variables.",
670 "rust-analyzer.lens.debug": {
671 "markdownDescription": "Whether to show `Debug` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
675 "rust-analyzer.lens.enable": {
676 "markdownDescription": "Whether to show CodeLens in Rust files.",
680 "rust-analyzer.lens.implementations": {
681 "markdownDescription": "Whether to show `Implementations` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
685 "rust-analyzer.lens.run": {
686 "markdownDescription": "Whether to show `Run` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
690 "rust-analyzer.lens.methodReferences": {
691 "markdownDescription": "Whether to show `Method References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
695 "rust-analyzer.lens.references": {
696 "markdownDescription": "Whether to show `References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
700 "rust-analyzer.linkedProjects": {
701 "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.",
711 "rust-analyzer.lruCapacity": {
712 "markdownDescription": "Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.",
720 "rust-analyzer.notifications.cargoTomlNotFound": {
721 "markdownDescription": "Whether to show `can't find Cargo.toml` error message.",
725 "rust-analyzer.procMacro.enable": {
726 "markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.",
730 "rust-analyzer.procMacro.server": {
731 "markdownDescription": "Internal config, path to proc-macro server executable (typically,\nthis is rust-analyzer itself, but we override this in tests).",
738 "rust-analyzer.runnables.overrideCargo": {
739 "markdownDescription": "Command to be executed instead of 'cargo' for runnables.",
746 "rust-analyzer.runnables.cargoExtraArgs": {
747 "markdownDescription": "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.",
754 "rust-analyzer.rustcSource": {
755 "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.",
762 "rust-analyzer.rustfmt.extraArgs": {
763 "markdownDescription": "Additional arguments to `rustfmt`.",
770 "rust-analyzer.rustfmt.overrideCommand": {
771 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nformatting.",
781 "$generated-end": false
789 "regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$",
795 "regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$",
803 "name": "rustc-json",
806 "regexp": "^.*\"message\":{\"message\":\"([^\"]*).*?\"file_name\":\"([^\"]+).*?\"line_start\":(\\d+).*?\"line_end\":(\\d+).*?\"column_start\":(\\d+).*?\"column_end\":(\\d+).*}$",
819 "id": "ra_syntax_tree",
833 "configuration": "language-configuration.json"
838 "language": "ra_syntax_tree",
839 "scopeName": "source.ra_syntax_tree",
840 "path": "ra_syntax_tree.tmGrammar.json"
855 "name": "rustc-json",
862 "pattern": "$rustc-json"
865 "name": "rustc-watch",
873 "beginsPattern": "^\\[Running\\b",
874 "endsPattern": "^\\[Finished running\\b"
881 "id": "rust_analyzer.inlayHints.foreground",
882 "description": "Foreground color of inlay hints (is overriden by more specific rust_analyzer.inlayHints.foreground.* configurations)",
886 "highContrast": "#BEBEBE"
890 "id": "rust_analyzer.inlayHints.background",
891 "description": "Background color of inlay hints (is overriden by more specific rust_analyzer.inlayHints.background.* configurations)",
894 "light": "#11223300",
895 "highContrast": "#11223300"
899 "id": "rust_analyzer.inlayHints.foreground.typeHints",
900 "description": "Foreground color of inlay type hints for variables (overrides rust_analyzer.inlayHints.foreground)",
902 "dark": "rust_analyzer.inlayHints.foreground",
903 "light": "rust_analyzer.inlayHints.foreground",
904 "highContrast": "rust_analyzer.inlayHints.foreground"
908 "id": "rust_analyzer.inlayHints.foreground.chainingHints",
909 "description": "Foreground color of inlay type hints for method chains (overrides rust_analyzer.inlayHints.foreground)",
911 "dark": "rust_analyzer.inlayHints.foreground",
912 "light": "rust_analyzer.inlayHints.foreground",
913 "highContrast": "rust_analyzer.inlayHints.foreground"
917 "id": "rust_analyzer.inlayHints.foreground.parameterHints",
918 "description": "Foreground color of function parameter name inlay hints at the call site (overrides rust_analyzer.inlayHints.foreground)",
920 "dark": "rust_analyzer.inlayHints.foreground",
921 "light": "rust_analyzer.inlayHints.foreground",
922 "highContrast": "rust_analyzer.inlayHints.foreground"
926 "id": "rust_analyzer.inlayHints.background.typeHints",
927 "description": "Background color of inlay type hints for variables (overrides rust_analyzer.inlayHints.background)",
929 "dark": "rust_analyzer.inlayHints.background",
930 "light": "rust_analyzer.inlayHints.background",
931 "highContrast": "rust_analyzer.inlayHints.background"
935 "id": "rust_analyzer.inlayHints.background.chainingHints",
936 "description": "Background color of inlay type hints for method chains (overrides rust_analyzer.inlayHints.background)",
938 "dark": "rust_analyzer.inlayHints.background",
939 "light": "rust_analyzer.inlayHints.background",
940 "highContrast": "rust_analyzer.inlayHints.background"
944 "id": "rust_analyzer.inlayHints.background.parameterHints",
945 "description": "Background color of function parameter name inlay hints at the call site (overrides rust_analyzer.inlayHints.background)",
947 "dark": "rust_analyzer.inlayHints.background",
948 "light": "rust_analyzer.inlayHints.background",
949 "highContrast": "rust_analyzer.inlayHints.background"
953 "id": "rust_analyzer.syntaxTreeBorder",
954 "description": "Color of the border displayed in the Rust source code for the selected syntax node (see \"Show Syntax Tree\" command)",
958 "highContrast": "#b700ff"
962 "semanticTokenTypes": [
965 "description": "Style for attributes"
969 "description": "Style for boolean literals",
970 "superType": "keyword"
974 "description": "Style for builtin types",
979 "description": "Style for lifetimes"
983 "description": "Style for the self keyword",
984 "superType": "keyword"
988 "description": "Style for type aliases",
993 "description": "Style for C-style untagged unions",
997 "id": "unresolvedReference",
998 "description": "Style for names which can not be resolved due to compilation errors"
1001 "id": "formatSpecifier",
1002 "description": "Style for {} placeholders in format strings"
1005 "id": "punctuation",
1006 "description": "generic punctuation"
1009 "id": "parenthesis",
1010 "description": "( or )",
1011 "superType": "punctuation"
1015 "description": "[ or ]",
1016 "superType": "punctuation"
1020 "description": "{ or }",
1021 "superType": "punctuation"
1025 "description": "< or >",
1026 "superType": "punctuation"
1031 "superType": "punctuation"
1036 "superType": "punctuation"
1041 "superType": "punctuation"
1046 "superType": "punctuation"
1049 "semanticTokenModifiers": [
1052 "description": "Style for elements within attributes"
1056 "description": "Style for compile-time constants"
1059 "id": "controlFlow",
1060 "description": "Style for control flow keywords"
1064 "description": "Style for mutable bindings"
1068 "description": "Style for unsafe operations"
1072 "description": "Style for non-Copy lvalues consumed by method/function call"
1076 "description": "Style for variables/parameters that can be used in call expressions"
1079 "semanticTokenScopes": [
1084 "meta.attribute.rust"
1086 "function.attribute": [
1087 "entity.name.function.attribute.rust"
1090 "constant.language.boolean.rust"
1093 "support.type.primitive.rust"
1096 "storage.modifier.lifetime.rust"
1099 "entity.name.type.typeAlias.rust"
1102 "entity.name.type.union.rust"
1105 "entity.name.type.struct.rust"
1108 "keyword.other.rust"
1110 "keyword.controlFlow": [
1111 "keyword.control.rust"
1113 "variable.constant": [
1114 "variable.other.constant.rust"
1116 "formatSpecifier": [
1117 "punctuation.section.embedded.rust"
1128 "command": "rust-analyzer.syntaxTree",
1129 "when": "inRustProject"
1132 "command": "rust-analyzer.viewHir",
1133 "when": "inRustProject"
1136 "command": "rust-analyzer.expandMacro",
1137 "when": "inRustProject"
1140 "command": "rust-analyzer.matchingBrace",
1141 "when": "inRustProject"
1144 "command": "rust-analyzer.parentModule",
1145 "when": "inRustProject"
1148 "command": "rust-analyzer.joinLines",
1149 "when": "inRustProject"
1152 "command": "rust-analyzer.run",
1153 "when": "inRustProject"
1156 "command": "rust-analyzer.debug",
1157 "when": "inRustProject"
1160 "command": "rust-analyzer.newDebugConfig",
1161 "when": "inRustProject"
1164 "command": "rust-analyzer.analyzerStatus",
1165 "when": "inRustProject"
1168 "command": "rust-analyzer.memoryUsage",
1169 "when": "inRustProject"
1172 "command": "rust-analyzer.reloadWorkspace",
1173 "when": "inRustProject"
1176 "command": "rust-analyzer.reload",
1177 "when": "inRustProject"
1180 "command": "rust-analyzer.updateGithubToken",
1181 "when": "inRustProject"
1184 "command": "rust-analyzer.onEnter",
1185 "when": "inRustProject"
1188 "command": "rust-analyzer.ssr",
1189 "when": "inRustProject"
1192 "command": "rust-analyzer.serverVersion",
1193 "when": "inRustProject"
1196 "command": "rust-analyzer.toggleInlayHints",
1197 "when": "inRustProject"
1200 "command": "rust-analyzer.openDocs",
1201 "when": "inRustProject"
1204 "command": "rust-analyzer.openCargoToml",
1205 "when": "inRustProject"
1210 "command": "rust-analyzer.peekTests",
1211 "when": "inRustProject",
1212 "group": "navigation@1000"