New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide FileOperationRegistrationOptions class #826
Comments
Looks like LSP4J already provides it: lsp4j/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/Protocol.xtend Lines 8107 to 8126 in cc20058
|
Thanks @pisv! I wonder why |
Good question :-) The following is my educated guess... There are some inconsistencies regarding registration options in the spec. But usually there is a basic For example, there is The corresponding server capability
Clearly, So, despite its name, Also, while type names don't mean much in TypeScript with its structural typing, changing a type name in Java would be a breaking change. Therefore, I guess it was decided to reserve the name |
Thank you @pisv for providing such a detailed analysis. I don't think there is anything left to do here so I am closing this issue. Please comment/reopen if I have missed something. |
The LSP specification defines the FileOperationRegistrationOptions which is helpful to support dynamic registration for file operations.
It would be nice if LSP4J could provide it.
Thanks!
The text was updated successfully, but these errors were encountered: