eclipse-lsp4j / lsp4j

A Java implementation of the language server protocol intended to be consumed by tools and language servers implemented in Java.
https://eclipse.org/lsp4j
Other
613 stars 145 forks source link

Add support for client default behavior on renames #650

Closed pisv closed 2 years ago

pisv commented 2 years ago

See https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_prepareRename

pisv commented 2 years ago

Note that this is the first time a type adapter for Either3 is used in LSP4J. See PrepareRenameResponseAdapter. Some changes in EitherTypeAdapter were required to support it.