diff options
author | Jonas Schievink <[email protected]> | 2020-07-24 16:39:16 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-07-24 16:39:16 +0100 |
commit | f6f49735e8070789a970cfd534695a5f2be33624 (patch) | |
tree | e6974aa1cce876fcfd7dc5634353600b8a09d01b /editors/code | |
parent | bec5123b0a688ad8d05531838cb9443ceac7ced3 (diff) |
Add toggle for experimental diagnostics
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 448e2269f..658c913fd 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", |
@@ -579,6 +574,16 @@ | |||
579 | "type": "boolean", | 574 | "type": "boolean", |
580 | "default": true | 575 | "default": true |
581 | }, | 576 | }, |
577 | "rust-analyzer.diagnostics.enable": { | ||
578 | "type": "boolean", | ||
579 | "default": true, | ||
580 | "markdownDescription": "Whether to show native rust-analyzer diagnostics." | ||
581 | }, | ||
582 | "rust-analyzer.diagnostics.enableExperimental": { | ||
583 | "type": "boolean", | ||
584 | "default": true, | ||
585 | "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might have more false positives than usual." | ||
586 | }, | ||
582 | "rust-analyzer.diagnostics.warningsAsInfo": { | 587 | "rust-analyzer.diagnostics.warningsAsInfo": { |
583 | "type": "array", | 588 | "type": "array", |
584 | "uniqueItems": true, | 589 | "uniqueItems": true, |