-
Notifications
You must be signed in to change notification settings - Fork 184
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
Diagnostic UI disappears after hover in some language servers [2.3.0] #2572
Comments
As far as I can tell from the recording there seem to be 2 bugs:
|
I wonder... does the spec imply or specify that it's not allowed?
I suppose we could avoid sending the request if there were no document changes since last time those were pulled. But then we'd need to store that version alongside the results. |
I couldn't find it explicitly in the specs, but I took it from the last paragraph in microsoft/language-server-protocol#1743 (comment) |
I just want to add that this bug renders rust-analyzer nigh unusable so I think it's prudent for the solution for this issue to end up as a hotfix |
A workaround for now could be to add this to LSP-rust-analyzer settings file: // Settings in here override those in "LSP-rust-analyzer/LSP-rust-analyzer.sublime-settings"
{
// ...
"disabled_capabilities": {
"diagnosticProvider": true,
}
} I don't think that would even degrade any functionality (assuming that pull diagnostics functionality is not utilized properly) |
@rchl, worked a charm thank you very much! |
sublime.mp4
The text was updated successfully, but these errors were encountered: