rust-analyzer/crates
bors[bot] 6d38351db4
Merge #4721
4721: Hide squiggly for unused and unnecessary diagnostics r=matklad a=GabbeV

Fixes #4229 

When working with JavaScript or TypeScript in VSCode unused valiables are faded but don't have a squiggle. This PR makes rust-analyzer work similarly by setting the severity to hint when applying the unnecessary tag.

VSCode usually shows a squiggle for error, warning and information and shows three dots for hint. When the unnecessary tag is present the squiggles will still show up but the three dots will not.

This is my first contribution to open source. Please tell me if i need to do anything more to get this PR considered.

Co-authored-by: Gabriel Valfridsson <gabriel.valfridsson@gmail.com>
2020-06-03 06:16:45 +00:00
..
ra_arena Extract messy tree handling out of profiling code 2020-04-25 21:22:40 +02:00
ra_assists Rename assist 2020-06-01 15:41:16 +02:00
ra_cfg add support of feature flag for runnables #4464 2020-05-23 20:59:18 +02:00
ra_db Fix some clippy perf warnings 2020-05-25 13:35:52 -04:00
ra_flycheck Cleanups 2020-05-15 02:09:30 +02:00
ra_fmt Introduce EffectExpr 2020-05-02 11:21:39 +02:00
ra_hir Add highlight support for unsafe fn calls and raw ptr deref 2020-06-02 18:54:00 -04:00
ra_hir_def Add highlight support for unsafe fn calls and raw ptr deref 2020-06-02 18:54:00 -04:00
ra_hir_expand correctly infer labelled breaks 2020-05-31 11:40:18 +02:00
ra_hir_ty correctly infer labelled breaks 2020-05-31 11:40:18 +02:00
ra_ide Add highlight support for unsafe fn calls and raw ptr deref 2020-06-02 18:54:00 -04:00
ra_ide_db recursively search submodules 2020-05-31 12:05:54 -04:00
ra_mbe Reuse Vec allocations 2020-05-16 22:20:44 +02:00
ra_parser Support raw_ref_op's raw reference operator 2020-05-28 21:42:22 +02:00
ra_proc_macro proc_macro: add ability to log to stderr and view output in vscode 2020-04-23 01:57:02 +03:00
ra_proc_macro_srv Fix tests, apply code review proposals 2020-05-31 03:10:23 +03:00
ra_prof Simplify profiler impl (bubble up Option and shorten code 2020-04-26 00:55:49 +03:00
ra_project_model Disable rust-analyzer.{cargo,checkOnSave}.allFeatures by default 2020-06-02 19:14:34 +03:00
ra_syntax Merge #4658 2020-06-02 12:13:02 +00:00
ra_text_edit Formalize JoinLines protocol extension 2020-05-21 20:05:33 +02:00
ra_toolchain Simplify match 2020-05-09 22:20:11 +03:00
ra_tt Reduce reallocations in ra_tt::buffer::TokenBuffer::new_inner 2020-05-16 22:20:44 +02:00
rust-analyzer Hide squiggly for unused and unnecessary 2020-06-03 01:57:28 +02:00
stdx Use snippets in add function 2020-05-20 01:23:05 +02:00
test_utils Merge pull request #4495 from vsrs/fixture_meta 2020-05-24 15:32:52 +02:00