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
599 stars 143 forks source link

Support for workspace.fileOperatioms #735

Closed asmodeus812 closed 1 year ago

asmodeus812 commented 1 year ago

Hi, i was looking through the implementation and noticed that most of the workspace file ops return unsupported exception. Is there a plan to add support for the willRename,Create,Delete ops ? Thanks !

pisv commented 1 year ago

Hi, these methods are intended to be implemented by specific language servers, not by LSP4J itself. They throw UOE by default because it is up to a language server to implement them or not; they are not required to be implemented by all language servers according to the spec.

asmodeus812 commented 1 year ago

Ah okay i seee, i will then make sure to ask in jdtls. Thanks i will close this one.