-
Notifications
You must be signed in to change notification settings - Fork 105
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
Notifications not working (publishDiagnostics) #303
Comments
did some debugging. 1st problem was that the client cannot handle the servers but the |
I also ran into this problem. LSPAnnotator runs but never finds any diagnostics as they are never received from the LSP Server. |
I wonder why getInitParams() in LanguageServerWrapper does not set the capability for publishDiagnostics and other diagnostics as these features are implemented. Does this mean the LSP server does not send diagnostics as the client says he is not able to handle it? |
it looks like publishDiagnostics notifications are not processed by the client.
(tested with a langium and a Xtext based server)
what do ne need to do to get notifications like publishDiagnostics to work?
in MessageHandler i see normal request response messages but no notification messages
my client adaption can be found here
master...cdietrich:lsp4intellij:cd_dmodel
my server here:
https://github.com/cdietrich/xtext-domainmodel-ls
The text was updated successfully, but these errors were encountered: