diff options
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 779d7e1b8..e2027970d 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -318,9 +318,23 @@ | |||
318 | "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)" | 318 | "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)" |
319 | }, | 319 | }, |
320 | "rust-analyzer.checkOnSave.allFeatures": { | 320 | "rust-analyzer.checkOnSave.allFeatures": { |
321 | "type": "boolean", | 321 | "type": [ |
322 | "default": false, | 322 | "null", |
323 | "markdownDescription": "Check with all features (will be passed as `--all-features`)" | 323 | "boolean" |
324 | ], | ||
325 | "default": null, | ||
326 | "markdownDescription": "Check with all features (will be passed as `--all-features`). Defaults to `rust-analyzer.cargo.allFeatures`." | ||
327 | }, | ||
328 | "rust-analyzer.checkOnSave.features": { | ||
329 | "type": [ | ||
330 | "null", | ||
331 | "array" | ||
332 | ], | ||
333 | "items": { | ||
334 | "type": "string" | ||
335 | }, | ||
336 | "default": null, | ||
337 | "description": "List of features to activate. Defaults to `rust-analyzer.cargo.features`." | ||
324 | }, | 338 | }, |
325 | "rust-analyzer.inlayHints.enable": { | 339 | "rust-analyzer.inlayHints.enable": { |
326 | "type": "boolean", | 340 | "type": "boolean", |