You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
This is somehow related to #58 but goes in another direction.
In case a language server dies (e.g. the executable crashes) this should not cause lsp to stop working, but lsp should be resilient. It should catch the issue and restartet the language server automatically.
Also there should be no modal info box shown but the crash should be logged.
(if needed I can attach a screenshot of this crash info boxes, next time it occurs)
The text was updated successfully, but these errors were encountered:
What I'm doing at the moment is that if a server crashes twice, I'll inform the user. I could raise this value obviously (to something like 5), but I'm in fact restarting the server when it happens.
The thing is, when a server crashes several times, it probably won't work without having the user look into it, hence the info message. I could make it fail silently and make the crash information available when clicking on the server status icon though, which could be less intrusive (but also make the error less visible).
When the server (dls in my case) crashes I get the info message you mentioned but also the LSP traffic icon disappears and I have to restart the whole IntelliJ to see the LSP traffic icon again.
As far as I understand you, this should not happen?
@gtache In case of a crash, where can I find the content of stderr? I need this information to check why the language server (dls) crashed and how this can be avoided in future.
At the moment the server log is not saved, but it is implemented in #72. I'll release it along with some bugfixes if I can find their causes.
Regarding your previous question, it is the intended behavior for now, but it is changed in 1.6.0 (and the restart function is also added).
This is somehow related to #58 but goes in another direction.
In case a language server dies (e.g. the executable crashes) this should not cause lsp to stop working, but lsp should be resilient. It should catch the issue and restartet the language server automatically.
Also there should be no modal info box shown but the crash should be logged.
(if needed I can attach a screenshot of this crash info boxes, next time it occurs)
The text was updated successfully, but these errors were encountered: