"dependencies": {
"https-proxy-agent": "^5.0.0",
"node-fetch": "^2.6.1",
- "vscode-languageclient": "^7.1.0-next.4"
+ "vscode-languageclient": "^7.1.0-next.5"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
- "@types/node": "~12.12.6",
+ "@types/node": "~14.17.3",
"@types/node-fetch": "^2.5.7",
"@types/vscode": "^1.53.0",
- "@typescript-eslint/eslint-plugin": "^4.9.0",
- "@typescript-eslint/parser": "^4.9.0",
- "eslint": "^7.15.0",
+ "@typescript-eslint/eslint-plugin": "^4.26.1",
+ "@typescript-eslint/parser": "^4.26.1",
+ "eslint": "^7.28.0",
"glob": "^7.1.6",
"mocha": "^8.2.1",
- "rollup": "^2.34.2",
+ "rollup": "^2.51.1",
"tslib": "^2.0.3",
- "typescript": "^4.1.2",
+ "typescript": "^4.3.2",
"typescript-formatter": "^7.2.2",
"vsce": "^1.85.0",
"vscode-test": "^1.5.1"
"title": "View Crate Graph",
"category": "Rust Analyzer"
},
+ {
+ "command": "rust-analyzer.viewFullCrateGraph",
+ "title": "View Crate Graph (Full)",
+ "category": "Rust Analyzer"
+ },
{
"command": "rust-analyzer.expandMacro",
"title": "Expand macro recursively",
},
"rust-analyzer.updates.askBeforeDownload": {
"type": "boolean",
- "default": true,
+ "default": false,
"description": "Whether to ask for permission before downloading any files from the Internet."
},
"rust-analyzer.server.path": {
"default": {},
"markdownDescription": "Optional settings passed to the debug engine. Example: `{ \"lldb\": { \"terminal\":\"external\"} }`"
},
- "$generated-start": false,
+ "$generated-start": {},
"rust-analyzer.assist.importGranularity": {
"markdownDescription": "How imports should be grouped into use statements.",
"default": "crate",
"type": "string",
"enum": [
"plain",
- "by_self",
- "by_crate"
+ "self",
+ "crate"
],
"enumDescriptions": [
"Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.",
- "Prefix all import paths with `self` if they don't begin with `self`, `super`, `crate` or a crate name.",
- "Force import paths to be absolute by always starting them with `crate` or the crate name they refer to."
+ "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.",
+ "Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from."
]
},
"rust-analyzer.assist.importGroup": {
"default": true,
"type": "boolean"
},
+ "rust-analyzer.assist.allowMergingIntoGlobImports": {
+ "markdownDescription": "Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`.",
+ "default": true,
+ "type": "boolean"
+ },
"rust-analyzer.callInfo.full": {
"markdownDescription": "Show function name and docs in parameter hints.",
"default": true,
"default": false,
"type": "boolean"
},
+ "rust-analyzer.cargo.unsetTest": {
+ "markdownDescription": "Unsets `#[cfg(test)]` for the specified crates.",
+ "default": [
+ "core"
+ ],
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"rust-analyzer.cargo.features": {
"markdownDescription": "List of features to activate.",
"default": [],
}
},
"rust-analyzer.completion.addCallArgumentSnippets": {
- "markdownDescription": "Whether to add argument snippets when completing functions.",
+ "markdownDescription": "Whether to add argument snippets when completing functions.\nOnly applies when `#rust-analyzer.completion.addCallParenthesis#` is set.",
"default": true,
"type": "boolean"
},
"default": true,
"type": "boolean"
},
+ "rust-analyzer.completion.autoself.enable": {
+ "markdownDescription": "Toggles the additional completions that automatically show method calls and field accesses\nwith `self` prefixed to them when inside a method.",
+ "default": true,
+ "type": "boolean"
+ },
"rust-analyzer.diagnostics.enable": {
"markdownDescription": "Whether to show native rust-analyzer diagnostics.",
"default": true,
"type": "object"
},
"rust-analyzer.diagnostics.warningsAsHint": {
- "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`.",
+ "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`.",
"default": [],
"type": "array",
"items": {
}
},
"rust-analyzer.diagnostics.warningsAsInfo": {
- "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`.",
+ "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`.",
"default": [],
"type": "array",
"items": {
"type": "string"
}
},
+ "rust-analyzer.experimental.procAttrMacros": {
+ "markdownDescription": "Expand attribute macros.",
+ "default": false,
+ "type": "boolean"
+ },
"rust-analyzer.files.watcher": {
"markdownDescription": "Controls file watching implementation.",
"default": "client",
"default": true,
"type": "boolean"
},
+ "rust-analyzer.hover.documentation": {
+ "markdownDescription": "Whether to show documentation on hover.",
+ "default": true,
+ "type": "boolean"
+ },
+ "rust-analyzer.hover.linksInHover": {
+ "markdownDescription": "Use markdown syntax for links in hover.",
+ "default": true,
+ "type": "boolean"
+ },
"rust-analyzer.hoverActions.debug": {
"markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
"default": true,
"default": true,
"type": "boolean"
},
- "rust-analyzer.hoverActions.run": {
- "markdownDescription": "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
- "default": true,
+ "rust-analyzer.hoverActions.references": {
+ "markdownDescription": "Whether to show `References` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
+ "default": false,
"type": "boolean"
},
- "rust-analyzer.hoverActions.linksInHover": {
- "markdownDescription": "Use markdown syntax for links in hover.",
+ "rust-analyzer.hoverActions.run": {
+ "markdownDescription": "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.",
"default": true,
"type": "boolean"
},
"default": true,
"type": "boolean"
},
+ "rust-analyzer.joinLines.joinElseIf": {
+ "markdownDescription": "Join lines inserts else between consecutive ifs.",
+ "default": true,
+ "type": "boolean"
+ },
+ "rust-analyzer.joinLines.removeTrailingComma": {
+ "markdownDescription": "Join lines removes trailing commas.",
+ "default": true,
+ "type": "boolean"
+ },
+ "rust-analyzer.joinLines.unwrapTrivialBlock": {
+ "markdownDescription": "Join lines unwraps trivial blocks.",
+ "default": true,
+ "type": "boolean"
+ },
"rust-analyzer.lens.debug": {
"markdownDescription": "Whether to show `Debug` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",
"default": true,
"Search for all symbols kinds"
]
},
- "$generated-end": false
+ "$generated-end": {}
}
},
"problemPatterns": [