Skip to content

Clarification: diagnostic ranges #257

Open
@ljw1004

Description

@ljw1004

VSCode supports a few diagnostic ranges that aren't documented in the LSP spec:

  • If a diagnostic's range has start and end position the same, then VSCode will squiggle the word at that position.
  • If a diagnostic's range has end position at character Number.MAX_VALUE, then VSCode will squiggle to the end of the line.

I think the LSP spec should call out these two cases, so that other clients implementing it will be sure to do the same.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions