diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/package.json | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 6389499e9..647c83685 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -318,9 +318,12 @@ | |||
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`." | ||
324 | }, | 327 | }, |
325 | "rust-analyzer.checkOnSave.features": { | 328 | "rust-analyzer.checkOnSave.features": { |
326 | "type": "array", | 329 | "type": "array", |
@@ -328,7 +331,7 @@ | |||
328 | "type": "string" | 331 | "type": "string" |
329 | }, | 332 | }, |
330 | "default": [], | 333 | "default": [], |
331 | "description": "List of features to activate. Set to `rust-analyzer.cargo.features` if empty." | 334 | "description": "List of features to activate. Defaults to `rust-analyzer.cargo.features`." |
332 | }, | 335 | }, |
333 | "rust-analyzer.inlayHints.enable": { | 336 | "rust-analyzer.inlayHints.enable": { |
334 | "type": "boolean", | 337 | "type": "boolean", |