-
Notifications
You must be signed in to change notification settings - Fork 408
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
server is not initialized correctly without configuration call #601
Comments
We already do that. See |
No. If the client reports it supports dynamic registration without this part executing server basically reports that it supports nothing on its capabilities |
I can confirm that i had to put in the didChangeConfiguration event to make jdt.ls start up properly: |
I see, we assumed didChangeConfiguration requests were sent on startup if dynamic registration is supported, because of vscode's behavior |
I don't think it is a big deal. We'll almost certainly need to support the config stuff at some point anyway. |
Moves the dynamic registration of the server capabilities to initialized notification fixes #601 Signed-off-by: Gorkem Ercan <[email protected]>
Moves the dynamic registration of the server capabilities to initialized notification fixes eclipse-jdtls#601 Signed-off-by: Gorkem Ercan <[email protected]>
Moves the dynamic registration of the server capabilities to initialized notification fixes eclipse-jdtls#601 Signed-off-by: Gorkem Ercan <[email protected]>
Server is not intialized correctly if the client does not send
didChangeConfiguration
. It is possible that a client does not support settings. Also LSP does not really define an order for thedidChangeConfiguration
notification. Instead of depending ondidChangeConfigration
we should use theinitialized
notification.The text was updated successfully, but these errors were encountered: