-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Closed
Labels
Milestone
Description
Test for #51104
Complexity: 3
Summary
#51104 introduces a new tags
field on diagnostics. This field is used to add additional metadata about the diagnostic. We currently use it to mark unnecessary code so that it can be rendered as faded out.
Testing
Try using the new tags api extension that contributes diagnostics. Things to try:
- Make sure the faded out rendering plays nicely with all diagnostic severities. The fading out should disable the
...
on suggestion diagnostics but not disable squiggles on errors and warnings. - Make sure overlapping diagnostics are rendered correctly.
- Make sure you can control the fading out level with
"editorUnnecessaryCode.opacity"
and"editorUnnecessaryCode.border"
(for high contrast) as described in the api documentation