Skip to content

LSP 3.16: Fill in the CodeDescription URI to get more information about a diagnostic #6371

@kjeremy

Description

@kjeremy

LSP 3.16 introduces the CodeDescription type which we can use to fill in a URI that contains additional information about a diagnostic.

For example in the following case:

image

We could fill the field with "https://doc.rust-lang.org/error-index.html#E0425". This would also be really nice for clippy.

See: https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#diagnostic

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions