Skip to content

Question: Are DiagnosticTags deprecated in favor of semantic tokens? #2024

Closed
@jfly

Description

@jfly

I've seen a some conversations that imply that semantic tokens obsolete DiagnosticTag:

But the discussion over on microsoft/vscode#92157 has a comment from @alexdima that says:

I am not in favor of adding competing API that gives two distinct ways to achieve the same effect.

So I'm confused. @HighCommander4, maybe you know the answer? Why does clangd need an extension to the Language Server Protocol to do this? Is it related to marking large regions of code as unused?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions