3874: Better config scheme & defaults r=matklad a=matklad



bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2020-04-07 07:01:45 +00:00 committed by GitHub
commit 27285f93ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,11 +251,15 @@
"description": "Additional arguments to rustfmt"
},
"rust-analyzer.rustfmt.overrideCommand": {
"type": "array",
"type": [
"null",
"array"
],
"items": {
"type": "string"
"type": "string",
"minItems": 1
},
"default": [],
"default": null,
"markdownDescription": "Advanced option, fully override the command rust-analyzer uses for formatting."
},
"rust-analyzer.checkOnSave.enable": {
@ -277,11 +281,15 @@
"markdownDescription": "Cargo command to use for `cargo check`"
},
"rust-analyzer.checkOnSave.overrideCommand": {
"type": "array",
"type": [
"null",
"array"
],
"items": {
"type": "string"
"type": "string",
"minItems": 1
},
"default": [],
"default": null,
"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": {