From 656e95211edf26bd82bd66f53ca3bcdfb7296e81 Mon Sep 17 00:00:00 2001 From: Gabriel Valfridsson Date: Tue, 16 Jun 2020 22:26:33 +0200 Subject: Warnings as hint or info --- editors/code/package.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'editors/code') diff --git a/editors/code/package.json b/editors/code/package.json index e2027970d..3acc375f6 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -525,6 +525,24 @@ "markdownDescription": "Internal config for debugging, disables loading of sysroot crates", "type": "boolean", "default": true + }, + "rust-analyzer.diagnostics.warningsAsInfo": { + "type": "array", + "uniqueItems": true, + "items": { + "type": "string" + }, + "description": "List of warnings that should be displayed with info severity.\nThe warnings will be indicated by a blue squiggly underline in code and a blue icon in the problems panel.", + "default": [] + }, + "rust-analyzer.diagnostics.warningsAsHint": { + "type": "array", + "uniqueItems": true, + "items": { + "type": "string" + }, + "description": "List of warnings warnings that should be displayed with hint severity.\nThe warnings will be indicated by faded text or three dots in code and will not show up in te problems panel.", + "default": [] } } }, -- cgit v1.2.3