regal icon indicating copy to clipboard operation
regal copied to clipboard

Write developer docs on debugging language server issues

Open charlieegan3 opened this issue 4 months ago • 0 comments

https://github.com/StyraInc/regal/pull/632 and https://github.com/open-policy-agent/vscode-opa/pull/147 make some changes that encode some hard earned learnings about how the LSP works. It'd be good to write up some notes on the messages and how they are handled on the server and the client. In particular:

  • the notion of requests vs notifications
  • that the server and the client can both send requests
  • and that processing a request is blocking on the client and so you need to respond before sending another request.

charlieegan3 avatar Apr 10 '24 17:04 charlieegan3