-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
tsserver drops responses #3887
Comments
This big shows that it would be worthwhile rethinking the response strategy. The code would be a lot clearer if every request sends a response. I would make the life of clients easier as well. If something doesn't require a response then an event should be used and not a request. |
Right the changes won't affect Sublime Text. I also agree it would be less error-prone this way. |
I concur - needing to specify the presence of responses and if one should be waited on has been the source of a number of bugs during my development. |
The tsserver drops responses for requests that doesn't compute a valid value. An example is quickInfo request for a boolean literal (true, false). The actual quickInfo result is undefined which leads to no response send.
This is a regression and worked before.
The text was updated successfully, but these errors were encountered: