Skip to content

[Test item] Try using the new diagnostics tag API #52218

@mjbvz

Description

@mjbvz

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions