joaotavora / eglot

A client for Language Server Protocol servers
GNU General Public License v3.0
2.21k stars 203 forks source link

[eglot] (warning) Server tried to register unsupported capability `workspace/didChangeWorkspaceFolders' #1235

Closed LuciusChen closed 1 year ago

LuciusChen commented 1 year ago

When using Eglot with my LSP server, I encountered the following warning/error message: "server tried to register unsupported capability 'workspace/didChangeWorkspaceFolders'". This appears to be due to the LSP server attempting to register the 'workspace/didChangeWorkspaceFolders' capability, which is not currently supported by Eglot.

This capability allows the server to receive notifications when the folders in the workspace change. While this warning/error does not prevent me from using Eglot for code editing and navigation, it does seem to indicate that some features provided by the LSP server might not be available due to this unsupported capability.

I would like to request that support for 'workspace/didChangeWorkspaceFolders' be considered for a future update of Eglot to fully take advantage of all the features offered by my LSP server. Thank you.