mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
vscode: restore removed default values
After refactoring the config we forgot to set defaults for some properties like workspaceLoaded, callInfo.full, etc. This commit restored them to being turned on by defult, as well added defaults for other props to be more explicit on their defualt value.
This commit is contained in:
parent
6207ac90da
commit
486cb5b79a
1 changed files with 5 additions and 0 deletions
|
@ -211,10 +211,12 @@
|
||||||
},
|
},
|
||||||
"rust-analyzer.notifications.workspaceLoaded": {
|
"rust-analyzer.notifications.workspaceLoaded": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
"markdownDescription": "Whether to show `workspace loaded` message."
|
"markdownDescription": "Whether to show `workspace loaded` message."
|
||||||
},
|
},
|
||||||
"rust-analyzer.notifications.cargoTomlNotFound": {
|
"rust-analyzer.notifications.cargoTomlNotFound": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
"markdownDescription": "Whether to show `can't find Cargo.toml` error message"
|
"markdownDescription": "Whether to show `can't find Cargo.toml` error message"
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargo.noDefaultFeatures": {
|
"rust-analyzer.cargo.noDefaultFeatures": {
|
||||||
|
@ -253,6 +255,7 @@
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"default": [],
|
||||||
"markdownDescription": "Advanced option, fully override the command rust-analyzer uses for formatting."
|
"markdownDescription": "Advanced option, fully override the command rust-analyzer uses for formatting."
|
||||||
},
|
},
|
||||||
"rust-analyzer.checkOnSave.enable": {
|
"rust-analyzer.checkOnSave.enable": {
|
||||||
|
@ -278,6 +281,7 @@
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"default": [],
|
||||||
"markdownDescription": "Advanced option, fully override the command rust-analyzer uses for checking. The command should include `--message=format=json` or similar option."
|
"markdownDescription": "Advanced option, fully override the command rust-analyzer uses for checking. The command should include `--message=format=json` or similar option."
|
||||||
},
|
},
|
||||||
"rust-analyzer.checkOnSave.allTargets": {
|
"rust-analyzer.checkOnSave.allTargets": {
|
||||||
|
@ -327,6 +331,7 @@
|
||||||
},
|
},
|
||||||
"rust-analyzer.callInfo.full": {
|
"rust-analyzer.callInfo.full": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
"description": "Show function name and docs in parameter hints"
|
"description": "Show function name and docs in parameter hints"
|
||||||
},
|
},
|
||||||
"rust-analyzer.highlighting.semanticTokens": {
|
"rust-analyzer.highlighting.semanticTokens": {
|
||||||
|
|
Loading…
Reference in a new issue