diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 448e2269f..1adf055d0 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -200,11 +200,6 @@ | |||
200 | "type": "object", | 200 | "type": "object", |
201 | "title": "Rust Analyzer", | 201 | "title": "Rust Analyzer", |
202 | "properties": { | 202 | "properties": { |
203 | "rust-analyzer.diagnostics.enable": { | ||
204 | "type": "boolean", | ||
205 | "default": true, | ||
206 | "markdownDescription": "Whether to show native rust-analyzer diagnostics." | ||
207 | }, | ||
208 | "rust-analyzer.lruCapacity": { | 203 | "rust-analyzer.lruCapacity": { |
209 | "type": [ | 204 | "type": [ |
210 | "null", | 205 | "null", |
@@ -328,6 +323,14 @@ | |||
328 | "default": true, | 323 | "default": true, |
329 | "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)" | 324 | "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)" |
330 | }, | 325 | }, |
326 | "rust-analyzer.checkOnSave.noDefaultFeatures": { | ||
327 | "type": [ | ||
328 | "null", | ||
329 | "boolean" | ||
330 | ], | ||
331 | "default": null, | ||
332 | "markdownDescription": "Do not activate the `default` feature" | ||
333 | }, | ||
331 | "rust-analyzer.checkOnSave.allFeatures": { | 334 | "rust-analyzer.checkOnSave.allFeatures": { |
332 | "type": [ | 335 | "type": [ |
333 | "null", | 336 | "null", |
@@ -579,6 +582,16 @@ | |||
579 | "type": "boolean", | 582 | "type": "boolean", |
580 | "default": true | 583 | "default": true |
581 | }, | 584 | }, |
585 | "rust-analyzer.diagnostics.enable": { | ||
586 | "type": "boolean", | ||
587 | "default": true, | ||
588 | "markdownDescription": "Whether to show native rust-analyzer diagnostics." | ||
589 | }, | ||
590 | "rust-analyzer.diagnostics.enableExperimental": { | ||
591 | "type": "boolean", | ||
592 | "default": true, | ||
593 | "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might have more false positives than usual." | ||
594 | }, | ||
582 | "rust-analyzer.diagnostics.warningsAsInfo": { | 595 | "rust-analyzer.diagnostics.warningsAsInfo": { |
583 | "type": "array", | 596 | "type": "array", |
584 | "uniqueItems": true, | 597 | "uniqueItems": true, |