-
Notifications
You must be signed in to change notification settings - Fork 41
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
Support for diagnostics #12
Comments
@cotttho Could you elaborate? Am working on a few nascent PRs right now - so I might be able to include your request if it's not too much heavy lifting. |
I am interested in using multilspy to retrieve diagnostic information from different language servers, but the |
Gotcha. I'll look into it sometime this week and get back to you. |
Hi @cotttho and @themichaelusa , I believe it should not be difficult to add support for diagnostics. Do you have a specific usecase in mind that you can contribute as a unittest?
Once you are able to get a version of diagnostic working with the underlying API, I would be glad if you could share your script, and we could implement first-class support for it in multilspy. I would be glad if you could actually PR this. I would be glad to help with any part of the implementation process, or detail any more steps/help debug anything. |
Another note: LSP supports diagnostics in 2 modes:
We can discuss what would be a better way and which to integrate into multilspy (both?). The second approach seems more closer to the rest of the APIs (request -> response), which is what I shared the steps above for. |
What would it take to support diagnostics?
The text was updated successfully, but these errors were encountered: