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
Prior to version 1.43, the following code worked as expected and provided a completion response. Starting at 1.43, the response for a textDocument/completion just hangs, holding up the parent process.
You have to send the initialized notification after receiving the response to initialize. This unblocks the rest of the language server. We do this because the proper pull-based configuration (though it's not really applicable to your client) cannot be fetched until the initialized handler and we want to make sure it's incorporated before processing other requests. See microsoft/language-server-protocol#567 (comment).
Thanks, Nayeem! This appears to be a gap in the protocol docs, as the
language for the client sending initialized notification is “may” and not
“must”. I’ll follow up there for clarification.
Version: Deno 1.43, 1.44, 1.45, 1.46
Prior to version 1.43, the following code worked as expected and provided a completion response. Starting at 1.43, the response for a
textDocument/completion
just hangs, holding up the parent process.This code snippet is for reproduction purposes.
The text was updated successfully, but these errors were encountered: