LS on* handlers registered after they are called by the server #14893
Labels
area-intellisense
LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
bug
Issue identified by VS Code Team member as probable bug
Opening a bug I can close with a PR.
On working on a different LS fix, I found that in the LS proxies, their onNotification/onRequest/onTelemetry calls are done after the LS is ready, but not immediately after starting. This means that there's a window where the LS can be trying to send a message to the client before the handlers are registered, leading to missed notifications and/or incorrectly handled calls.
The text was updated successfully, but these errors were encountered: