Skip to content

Conversation

@pisv
Copy link
Contributor

@pisv pisv commented Aug 1, 2025

This PR complements #886 in adding beta support for those new features in LSP 3.18 that are available at the moment. The new API elements are annotated with @Draft and are subject to incompatible changes, including even removal, as long as they remain in the draft (beta) state.

Please note that there are some breaking API changes, which are documented in the change log as follows:

  • Type of TextDocumentEdit.edits changed from List<TextEdit> to List<Either<TextEdit, SnippetTextEdit>>
  • Type of Diagnostic.message changed from String to Either<String, MarkupContent>
  • Type of DocumentFilter.pattern changed from String to Either<String, RelativePattern>
  • Type of NotebookDocumentFilter.pattern changed from String to Either<String, RelativePattern>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant