diff options
author | Gabriel Valfridsson <[email protected]> | 2020-06-16 21:26:33 +0100 |
---|---|---|
committer | Gabriel Valfridsson <[email protected]> | 2020-06-16 23:00:43 +0100 |
commit | 656e95211edf26bd82bd66f53ca3bcdfb7296e81 (patch) | |
tree | 5770b5e07ac0906acfe80b0c882ec4aa095e958d /editors | |
parent | 5d7974e5fb921236fea74731d8edde518f08e73a (diff) |
Warnings as hint or info
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/package.json | 18 |
1 files changed, 18 insertions, 0 deletions
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 @@ | |||
525 | "markdownDescription": "Internal config for debugging, disables loading of sysroot crates", | 525 | "markdownDescription": "Internal config for debugging, disables loading of sysroot crates", |
526 | "type": "boolean", | 526 | "type": "boolean", |
527 | "default": true | 527 | "default": true |
528 | }, | ||
529 | "rust-analyzer.diagnostics.warningsAsInfo": { | ||
530 | "type": "array", | ||
531 | "uniqueItems": true, | ||
532 | "items": { | ||
533 | "type": "string" | ||
534 | }, | ||
535 | "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.", | ||
536 | "default": [] | ||
537 | }, | ||
538 | "rust-analyzer.diagnostics.warningsAsHint": { | ||
539 | "type": "array", | ||
540 | "uniqueItems": true, | ||
541 | "items": { | ||
542 | "type": "string" | ||
543 | }, | ||
544 | "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.", | ||
545 | "default": [] | ||
528 | } | 546 | } |
529 | } | 547 | } |
530 | }, | 548 | }, |