From f6f49735e8070789a970cfd534695a5f2be33624 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 24 Jul 2020 17:39:16 +0200 Subject: Add toggle for experimental diagnostics --- editors/code/package.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'editors/code/package.json') 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 @@ "type": "object", "title": "Rust Analyzer", "properties": { - "rust-analyzer.diagnostics.enable": { - "type": "boolean", - "default": true, - "markdownDescription": "Whether to show native rust-analyzer diagnostics." - }, "rust-analyzer.lruCapacity": { "type": [ "null", @@ -579,6 +574,16 @@ "type": "boolean", "default": true }, + "rust-analyzer.diagnostics.enable": { + "type": "boolean", + "default": true, + "markdownDescription": "Whether to show native rust-analyzer diagnostics." + }, + "rust-analyzer.diagnostics.enableExperimental": { + "type": "boolean", + "default": true, + "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might have more false positives than usual." + }, "rust-analyzer.diagnostics.warningsAsInfo": { "type": "array", "uniqueItems": true, -- cgit v1.2.3