aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 1f95cd130..9c8cca615 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -248,6 +248,13 @@
248 "default": [], 248 "default": [],
249 "description": "Additional arguments to rustfmt" 249 "description": "Additional arguments to rustfmt"
250 }, 250 },
251 "rust-analyzer.rustfmt.overrideCommand": {
252 "type": "array",
253 "items": {
254 "type": "string"
255 },
256 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for formatting."
257 },
251 "rust-analyzer.checkOnSave.enable": { 258 "rust-analyzer.checkOnSave.enable": {
252 "type": "boolean", 259 "type": "boolean",
253 "default": true, 260 "default": true,
@@ -266,6 +273,13 @@
266 "default": "check", 273 "default": "check",
267 "markdownDescription": "Cargo command to use for `cargo check`" 274 "markdownDescription": "Cargo command to use for `cargo check`"
268 }, 275 },
276 "rust-analyzer.checkOnSave.overrideCommand": {
277 "type": "array",
278 "items": {
279 "type": "string"
280 },
281 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for checking. The command should include `--message=format=json` or similar option."
282 },
269 "rust-analyzer.checkOnSave.allTargets": { 283 "rust-analyzer.checkOnSave.allTargets": {
270 "type": "boolean", 284 "type": "boolean",
271 "default": true, 285 "default": true,