You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that it is common in LSP4J to use Deprecated annotations to communicate deprecations in the language server protocol itself.
Would it be possible to avoid this?
Most of the LSP deprecations have been in place for years at this point, and as the author of a language server I still have to handle e.g. rootUri in InitializeParams (deprecated since 2020) because a client may still send it.
It needlessly litters good code with deprecation warnings and it doesn't appear that the LSP protocol is actually going to follow through with removing any of these deprecated constructs, at least until there is a version 4.x of the protocol.
If you'd prefer to keep using deprecations, could they perhaps be used only for "response" type data, rather than properties of requests that a language server must handle in order to follow the protocol?