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.viewItemTree",
114 "title": "Debug ItemTree",
115 "category": "Rust Analyzer"
118 "command": "rust-analyzer.viewCrateGraph",
119 "title": "View Crate Graph",
120 "category": "Rust Analyzer"
123 "command": "rust-analyzer.expandMacro",
124 "title": "Expand macro recursively",
125 "category": "Rust Analyzer"
128 "command": "rust-analyzer.matchingBrace",
129 "title": "Find matching brace",
130 "category": "Rust Analyzer"
133 "command": "rust-analyzer.parentModule",
134 "title": "Locate parent module",
135 "category": "Rust Analyzer"
138 "command": "rust-analyzer.joinLines",
139 "title": "Join lines",
140 "category": "Rust Analyzer"
143 "command": "rust-analyzer.run",
145 "category": "Rust Analyzer"
148 "command": "rust-analyzer.copyRunCommandLine",
149 "title": "Copy Run Command Line",
150 "category": "Rust Analyzer"
153 "command": "rust-analyzer.debug",
155 "category": "Rust Analyzer"
158 "command": "rust-analyzer.newDebugConfig",
159 "title": "Generate launch configuration",
160 "category": "Rust Analyzer"
163 "command": "rust-analyzer.analyzerStatus",
165 "category": "Rust Analyzer"
168 "command": "rust-analyzer.memoryUsage",
169 "title": "Memory Usage (Clears Database)",
170 "category": "Rust Analyzer"
173 "command": "rust-analyzer.reloadWorkspace",
174 "title": "Reload workspace",
175 "category": "Rust Analyzer"
178 "command": "rust-analyzer.reload",
179 "title": "Restart server",
180 "category": "Rust Analyzer"
183 "command": "rust-analyzer.updateGithubToken",
184 "title": "Update Github API token",
185 "category": "Rust Analyzer"
188 "command": "rust-analyzer.onEnter",
189 "title": "Enhanced enter key",
190 "category": "Rust Analyzer"
193 "command": "rust-analyzer.ssr",
194 "title": "Structural Search Replace",
195 "category": "Rust Analyzer"
198 "command": "rust-analyzer.serverVersion",
199 "title": "Show RA Version",
200 "category": "Rust Analyzer"
203 "command": "rust-analyzer.toggleInlayHints",
204 "title": "Toggle inlay hints",
205 "category": "Rust Analyzer"
208 "command": "rust-analyzer.openDocs",
209 "title": "Open docs under cursor",
210 "category": "Rust Analyzer"
213 "command": "rust-analyzer.openCargoToml",
214 "title": "Open Cargo.toml",
215 "category": "Rust Analyzer"
218 "command": "rust-analyzer.peekTests",
219 "title": "Peek related tests",
220 "category": "Rust Analyzer"
223 "command": "rust-analyzer.moveItemUp",
224 "title": "Move item up",
225 "category": "Rust Analyzer"
228 "command": "rust-analyzer.moveItemDown",
229 "title": "Move item down",
230 "category": "Rust Analyzer"
235 "command": "rust-analyzer.parentModule",
236 "key": "ctrl+shift+u",
237 "when": "editorTextFocus && editorLangId == rust"
240 "command": "rust-analyzer.matchingBrace",
241 "key": "ctrl+shift+m",
242 "when": "editorTextFocus && editorLangId == rust"
245 "command": "rust-analyzer.joinLines",
246 "key": "ctrl+shift+j",
247 "when": "editorTextFocus && editorLangId == rust"
252 "title": "Rust Analyzer",
254 "rust-analyzer.cargoRunner": {
260 "description": "Custom cargo runner extension ID."
262 "rust-analyzer.runnableEnv": {
274 "description": "Runnable name mask"
278 "description": "Variables in form of { \"key\": \"value\"}"
285 "description": "Variables in form of { \"key\": \"value\"}"
289 "markdownDescription": "Environment variables passed to the runnable launched using `Test` or `Debug` lens or `rust-analyzer.run` command."
291 "rust-analyzer.inlayHints.enable": {
294 "description": "Whether to show inlay hints."
296 "rust-analyzer.inlayHints.smallerHints": {
299 "description": "Whether inlay hints font size should be smaller than editor's font size."
301 "rust-analyzer.updates.channel": {
308 "markdownEnumDescriptions": [
309 "`stable` updates are shipped weekly, they don't contain cutting-edge features from VSCode proposed APIs but have less bugs in general.",
310 "`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**."
312 "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."
314 "rust-analyzer.updates.askBeforeDownload": {
317 "description": "Whether to ask for permission before downloading any files from the Internet."
319 "rust-analyzer.server.path": {
325 "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"
327 "rust-analyzer.server.extraEnv": {
333 "markdownDescription": "Extra environment variables that will be passed to the rust-analyzer executable. Useful for passing e.g. `RA_LOG` for debugging."
335 "rust-analyzer.trace.server": {
343 "enumDescriptions": [
349 "description": "Trace requests to the rust-analyzer (this is usually overly verbose and not recommended for regular users)."
351 "rust-analyzer.trace.extension": {
352 "description": "Enable logging of VS Code extensions itself.",
356 "rust-analyzer.debug.engine": {
360 "vadimcn.vscode-lldb",
364 "description": "Preferred debug engine.",
365 "markdownEnumDescriptions": [
366 "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).",
367 "Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)",
368 "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)"
371 "rust-analyzer.debug.sourceFileMap": {
377 "description": "Optional source file mappings passed to the debug engine.",
379 "/rustc/<id>": "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust"
382 "rust-analyzer.debug.openDebugPane": {
383 "markdownDescription": "Whether to open up the `Debug Panel` on debugging start.",
387 "rust-analyzer.debug.engineSettings": {
390 "markdownDescription": "Optional settings passed to the debug engine. Example: `{ \"lldb\": { \"terminal\":\"external\"} }`"
392 "$generated-start": false,
393 "rust-analyzer.assist.importGranularity": {
394 "markdownDescription": "How imports should be grouped into use statements.",
403 "enumDescriptions": [
404 "Do not change the granularity of any imports and preserve the original structure written by the developer.",
405 "Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements.",
406 "Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements.",
407 "Flatten imports so that each has its own use statement."
410 "rust-analyzer.assist.importEnforceGranularity": {
411 "markdownDescription": "Whether to enforce the import granularity setting for all files. If set to false rust-analyzer will try to keep import styles consistent per file.",
415 "rust-analyzer.assist.importPrefix": {
416 "markdownDescription": "The path structure for newly inserted paths to use.",
424 "enumDescriptions": [
425 "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.",
426 "Prefix all import paths with `self` if they don't begin with `self`, `super`, `crate` or a crate name.",
427 "Force import paths to be absolute by always starting them with `crate` or the crate name they refer to."
430 "rust-analyzer.assist.importGroup": {
431 "markdownDescription": "Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.",
435 "rust-analyzer.callInfo.full": {
436 "markdownDescription": "Show function name and docs in parameter hints.",
440 "rust-analyzer.cargo.autoreload": {
441 "markdownDescription": "Automatically refresh project info via `cargo metadata` on\n`Cargo.toml` changes.",
445 "rust-analyzer.cargo.allFeatures": {
446 "markdownDescription": "Activate all available features (`--all-features`).",
450 "rust-analyzer.cargo.features": {
451 "markdownDescription": "List of features to activate.",
458 "rust-analyzer.cargo.runBuildScripts": {
459 "markdownDescription": "Run build scripts (`build.rs`) for more precise code analysis.",
463 "rust-analyzer.cargo.useRustcWrapperForBuildScripts": {
464 "markdownDescription": "Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to\navoid compiling unnecessary things.",
468 "rust-analyzer.cargo.noDefaultFeatures": {
469 "markdownDescription": "Do not activate the `default` feature.",
473 "rust-analyzer.cargo.target": {
474 "markdownDescription": "Compilation target (target triple).",
481 "rust-analyzer.cargo.noSysroot": {
482 "markdownDescription": "Internal config for debugging, disables loading of sysroot crates.",
486 "rust-analyzer.checkOnSave.enable": {
487 "markdownDescription": "Run specified `cargo check` command for diagnostics on save.",
491 "rust-analyzer.checkOnSave.allFeatures": {
492 "markdownDescription": "Check with all features (`--all-features`).\nDefaults to `#rust-analyzer.cargo.allFeatures#`.",
499 "rust-analyzer.checkOnSave.allTargets": {
500 "markdownDescription": "Check all targets and tests (`--all-targets`).",
504 "rust-analyzer.checkOnSave.command": {
505 "markdownDescription": "Cargo command to use for `cargo check`.",
509 "rust-analyzer.checkOnSave.noDefaultFeatures": {
510 "markdownDescription": "Do not activate the `default` feature.",
517 "rust-analyzer.checkOnSave.target": {
518 "markdownDescription": "Check for a specific target. Defaults to\n`#rust-analyzer.cargo.target#`.",
525 "rust-analyzer.checkOnSave.extraArgs": {
526 "markdownDescription": "Extra arguments for `cargo check`.",
533 "rust-analyzer.checkOnSave.features": {
534 "markdownDescription": "List of features to activate. Defaults to\n`#rust-analyzer.cargo.features#`.",
544 "rust-analyzer.checkOnSave.overrideCommand": {
545 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nchecking. The command should include `--message-format=json` or\nsimilar option.",
555 "rust-analyzer.completion.addCallArgumentSnippets": {
556 "markdownDescription": "Whether to add argument snippets when completing functions.",
560 "rust-analyzer.completion.addCallParenthesis": {
561 "markdownDescription": "Whether to add parenthesis when completing functions.",
565 "rust-analyzer.completion.postfix.enable": {
566 "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.",
570 "rust-analyzer.completion.autoimport.enable": {
571 "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.",
575 "rust-analyzer.diagnostics.enable": {
576 "markdownDescription": "Whether to show native rust-analyzer diagnostics.",
580 "rust-analyzer.diagnostics.enableExperimental": {
581 "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might\nhave more false positives than usual.",
585 "rust-analyzer.diagnostics.disabled": {
586 "markdownDescription": "List of rust-analyzer diagnostics to disable.",
594 "rust-analyzer.diagnostics.remapPrefix": {
595 "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`.",
599 "rust-analyzer.diagnostics.warningsAsHint": {
600 "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`.",
607 "rust-analyzer.diagnostics.warningsAsInfo": {
608 "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`.",
615 "rust-analyzer.files.watcher": {
616 "markdownDescription": "Controls file watching implementation.",
620 "rust-analyzer.files.excludeDirs": {
621 "markdownDescription": "These directories will be ignored by rust-analyzer.",
628 "rust-analyzer.highlighting.strings": {
629 "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.",
633 "rust-analyzer.hoverActions.debug": {
634 "markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
638 "rust-analyzer.hoverActions.enable": {
639 "markdownDescription": "Whether to show HoverActions in Rust files.",
643 "rust-analyzer.hoverActions.gotoTypeDef": {
644 "markdownDescription": "Whether to show `Go to Type Definition` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
648 "rust-analyzer.hoverActions.implementations": {
649 "markdownDescription": "Whether to show `Implementations` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
653 "rust-analyzer.hoverActions.run": {
654 "markdownDescription": "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
658 "rust-analyzer.hoverActions.linksInHover": {
659 "markdownDescription": "Use markdown syntax for links in hover.",
663 "rust-analyzer.inlayHints.chainingHints": {
664 "markdownDescription": "Whether to show inlay type hints for method chains.",
668 "rust-analyzer.inlayHints.maxLength": {
669 "markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.",
677 "rust-analyzer.inlayHints.parameterHints": {
678 "markdownDescription": "Whether to show function parameter name inlay hints at the call\nsite.",
682 "rust-analyzer.inlayHints.typeHints": {
683 "markdownDescription": "Whether to show inlay type hints for variables.",
687 "rust-analyzer.lens.debug": {
688 "markdownDescription": "Whether to show `Debug` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
692 "rust-analyzer.lens.enable": {
693 "markdownDescription": "Whether to show CodeLens in Rust files.",
697 "rust-analyzer.lens.implementations": {
698 "markdownDescription": "Whether to show `Implementations` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
702 "rust-analyzer.lens.run": {
703 "markdownDescription": "Whether to show `Run` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
707 "rust-analyzer.lens.methodReferences": {
708 "markdownDescription": "Whether to show `Method References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
712 "rust-analyzer.lens.references": {
713 "markdownDescription": "Whether to show `References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
717 "rust-analyzer.linkedProjects": {
718 "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.",
728 "rust-analyzer.lruCapacity": {
729 "markdownDescription": "Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.",
737 "rust-analyzer.notifications.cargoTomlNotFound": {
738 "markdownDescription": "Whether to show `can't find Cargo.toml` error message.",
742 "rust-analyzer.procMacro.enable": {
743 "markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.",
747 "rust-analyzer.procMacro.server": {
748 "markdownDescription": "Internal config, path to proc-macro server executable (typically,\nthis is rust-analyzer itself, but we override this in tests).",
755 "rust-analyzer.runnables.overrideCargo": {
756 "markdownDescription": "Command to be executed instead of 'cargo' for runnables.",
763 "rust-analyzer.runnables.cargoExtraArgs": {
764 "markdownDescription": "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.",
771 "rust-analyzer.rustcSource": {
772 "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.",
779 "rust-analyzer.rustfmt.extraArgs": {
780 "markdownDescription": "Additional arguments to `rustfmt`.",
787 "rust-analyzer.rustfmt.overrideCommand": {
788 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nformatting.",
798 "rust-analyzer.rustfmt.enableRangeFormatting": {
799 "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.",
803 "rust-analyzer.workspace.symbol.search.scope": {
804 "markdownDescription": "Workspace symbol search scope.",
805 "default": "workspace",
809 "workspace_and_dependencies"
811 "enumDescriptions": [
812 "Search in current workspace only",
813 "Search in current workspace and dependencies"
816 "rust-analyzer.workspace.symbol.search.kind": {
817 "markdownDescription": "Workspace symbol search kind.",
818 "default": "only_types",
824 "enumDescriptions": [
825 "Search for types only",
826 "Search for all symbols kinds"
829 "$generated-end": false
837 "regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$",
843 "regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$",
851 "name": "rustc-json",
854 "regexp": "^.*\"message\":{\"message\":\"([^\"]*).*?\"file_name\":\"([^\"]+).*?\"line_start\":(\\d+).*?\"line_end\":(\\d+).*?\"column_start\":(\\d+).*?\"column_end\":(\\d+).*}$",
867 "id": "ra_syntax_tree",
881 "configuration": "language-configuration.json"
886 "language": "ra_syntax_tree",
887 "scopeName": "source.ra_syntax_tree",
888 "path": "ra_syntax_tree.tmGrammar.json"
903 "name": "rustc-json",
910 "pattern": "$rustc-json"
913 "name": "rustc-watch",
921 "beginsPattern": "^\\[Running\\b",
922 "endsPattern": "^\\[Finished running\\b"
929 "id": "rust_analyzer.inlayHints.foreground",
930 "description": "Foreground color of inlay hints (is overriden by more specific rust_analyzer.inlayHints.foreground.* configurations)",
934 "highContrast": "#BEBEBE"
938 "id": "rust_analyzer.inlayHints.background",
939 "description": "Background color of inlay hints (is overriden by more specific rust_analyzer.inlayHints.background.* configurations)",
942 "light": "#11223300",
943 "highContrast": "#11223300"
947 "id": "rust_analyzer.inlayHints.foreground.typeHints",
948 "description": "Foreground color of inlay type hints for variables (overrides rust_analyzer.inlayHints.foreground)",
950 "dark": "rust_analyzer.inlayHints.foreground",
951 "light": "rust_analyzer.inlayHints.foreground",
952 "highContrast": "rust_analyzer.inlayHints.foreground"
956 "id": "rust_analyzer.inlayHints.foreground.chainingHints",
957 "description": "Foreground color of inlay type hints for method chains (overrides rust_analyzer.inlayHints.foreground)",
959 "dark": "rust_analyzer.inlayHints.foreground",
960 "light": "rust_analyzer.inlayHints.foreground",
961 "highContrast": "rust_analyzer.inlayHints.foreground"
965 "id": "rust_analyzer.inlayHints.foreground.parameterHints",
966 "description": "Foreground color of function parameter name inlay hints at the call site (overrides rust_analyzer.inlayHints.foreground)",
968 "dark": "rust_analyzer.inlayHints.foreground",
969 "light": "rust_analyzer.inlayHints.foreground",
970 "highContrast": "rust_analyzer.inlayHints.foreground"
974 "id": "rust_analyzer.inlayHints.background.typeHints",
975 "description": "Background color of inlay type hints for variables (overrides rust_analyzer.inlayHints.background)",
977 "dark": "rust_analyzer.inlayHints.background",
978 "light": "rust_analyzer.inlayHints.background",
979 "highContrast": "rust_analyzer.inlayHints.background"
983 "id": "rust_analyzer.inlayHints.background.chainingHints",
984 "description": "Background color of inlay type hints for method chains (overrides rust_analyzer.inlayHints.background)",
986 "dark": "rust_analyzer.inlayHints.background",
987 "light": "rust_analyzer.inlayHints.background",
988 "highContrast": "rust_analyzer.inlayHints.background"
992 "id": "rust_analyzer.inlayHints.background.parameterHints",
993 "description": "Background color of function parameter name inlay hints at the call site (overrides rust_analyzer.inlayHints.background)",
995 "dark": "rust_analyzer.inlayHints.background",
996 "light": "rust_analyzer.inlayHints.background",
997 "highContrast": "rust_analyzer.inlayHints.background"
1001 "id": "rust_analyzer.syntaxTreeBorder",
1002 "description": "Color of the border displayed in the Rust source code for the selected syntax node (see \"Show Syntax Tree\" command)",
1006 "highContrast": "#b700ff"
1010 "semanticTokenTypes": [
1013 "description": "Style for attributes"
1017 "description": "Style for boolean literals",
1018 "superType": "keyword"
1021 "id": "builtinType",
1022 "description": "Style for builtin types",
1027 "description": "Style for lifetimes"
1030 "id": "selfKeyword",
1031 "description": "Style for the self keyword",
1032 "superType": "keyword"
1036 "description": "Style for type aliases",
1041 "description": "Style for C-style untagged unions",
1045 "id": "unresolvedReference",
1046 "description": "Style for names which can not be resolved due to compilation errors"
1049 "id": "formatSpecifier",
1050 "description": "Style for {} placeholders in format strings"
1053 "id": "punctuation",
1054 "description": "generic punctuation"
1057 "id": "parenthesis",
1058 "description": "( or )",
1059 "superType": "punctuation"
1063 "description": "[ or ]",
1064 "superType": "punctuation"
1068 "description": "{ or }",
1069 "superType": "punctuation"
1073 "description": "< or >",
1074 "superType": "punctuation"
1079 "superType": "punctuation"
1084 "superType": "punctuation"
1089 "superType": "punctuation"
1094 "superType": "punctuation"
1097 "semanticTokenModifiers": [
1100 "description": "Style for elements within attributes"
1104 "description": "Style for compile-time constants"
1107 "id": "controlFlow",
1108 "description": "Style for control flow keywords"
1112 "description": "Style for mutable bindings"
1116 "description": "Style for unsafe operations"
1120 "description": "Style for non-Copy lvalues consumed by method/function call"
1124 "description": "Style for variables/parameters that can be used in call expressions"
1127 "semanticTokenScopes": [
1132 "meta.attribute.rust"
1134 "function.attribute": [
1135 "entity.name.function.attribute.rust"
1138 "constant.language.boolean.rust"
1141 "support.type.primitive.rust"
1144 "storage.modifier.lifetime.rust"
1147 "entity.name.type.typeAlias.rust"
1150 "entity.name.type.union.rust"
1153 "entity.name.type.struct.rust"
1156 "keyword.other.rust"
1158 "keyword.controlFlow": [
1159 "keyword.control.rust"
1161 "variable.constant": [
1162 "variable.other.constant.rust"
1164 "formatSpecifier": [
1165 "punctuation.section.embedded.rust"
1176 "command": "rust-analyzer.syntaxTree",
1177 "when": "inRustProject"
1180 "command": "rust-analyzer.viewHir",
1181 "when": "inRustProject"
1184 "command": "rust-analyzer.expandMacro",
1185 "when": "inRustProject"
1188 "command": "rust-analyzer.matchingBrace",
1189 "when": "inRustProject"
1192 "command": "rust-analyzer.parentModule",
1193 "when": "inRustProject"
1196 "command": "rust-analyzer.joinLines",
1197 "when": "inRustProject"
1200 "command": "rust-analyzer.run",
1201 "when": "inRustProject"
1204 "command": "rust-analyzer.debug",
1205 "when": "inRustProject"
1208 "command": "rust-analyzer.newDebugConfig",
1209 "when": "inRustProject"
1212 "command": "rust-analyzer.analyzerStatus",
1213 "when": "inRustProject"
1216 "command": "rust-analyzer.memoryUsage",
1217 "when": "inRustProject"
1220 "command": "rust-analyzer.reloadWorkspace",
1221 "when": "inRustProject"
1224 "command": "rust-analyzer.reload",
1225 "when": "inRustProject"
1228 "command": "rust-analyzer.updateGithubToken",
1229 "when": "inRustProject"
1232 "command": "rust-analyzer.onEnter",
1233 "when": "inRustProject"
1236 "command": "rust-analyzer.ssr",
1237 "when": "inRustProject"
1240 "command": "rust-analyzer.serverVersion",
1241 "when": "inRustProject"
1244 "command": "rust-analyzer.toggleInlayHints",
1245 "when": "inRustProject"
1248 "command": "rust-analyzer.openDocs",
1249 "when": "inRustProject"
1252 "command": "rust-analyzer.openCargoToml",
1253 "when": "inRustProject"
1258 "command": "rust-analyzer.peekTests",
1259 "when": "inRustProject",
1260 "group": "navigation@1000"