-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
didOpen
events are missing for newly opened documents after reconnection
#4085
Comments
It was fixed in vscode-languageclient: microsoft/vscode-languageserver-node@82a75b4 But we cannot use it, without upgrading our I will work it around for now. We can remove it after upgrading dependencies. |
… on restart Signed-off-by: Anton Kosyakov <[email protected]>
… on restart Signed-off-by: Anton Kosyakov <[email protected]>
… on restart Signed-off-by: Anton Kosyakov <[email protected]>
@akosyakov, if this was closed why do we still have the patching code here: theia/packages/languages/src/browser/language-client-factory.ts Lines 83 to 104 in 24f77b3
Thanks! |
@kittaakos It was fixed by a workaround. Opened an issue to investigate whether it is possible to remove a patch: #6224. We should generally check whether there is memory leaks with new vscode languageclient. I've overlooked it. |
We've switched from multiple language clients to one per a language to avoid leaking them: #3538 (comment)
It's turned out that on
stop
language client disposes document listeners but not unset them, and on followingstart
it does not install new listeners, so all document events are missing. And there is no language support at all.In order to reproduce:
The text was updated successfully, but these errors were encountered: