Skip to content

Conversation

@xeger
Copy link
Contributor

@xeger xeger commented Jun 19, 2022

While evaluating the ruby-syntax-tree extension I found that restarting the language server doesn't work: the JSON RPC call never resolves in the language-server client code, therefore the await never gets fulfilled.

Inspection of VS Code's JSON RPC stack revealed that every RPC expects a response. So, I added a response to stree's LSP and verified this makes VS Code happy. With this fix in place, the restart command works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants