Skip to content
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

Write developer docs on debugging language server issues #636

Open
charlieegan3 opened this issue Apr 10, 2024 · 0 comments
Open

Write developer docs on debugging language server issues #636

charlieegan3 opened this issue Apr 10, 2024 · 0 comments

Comments

@charlieegan3
Copy link
Member

charlieegan3 commented Apr 10, 2024

#632 and open-policy-agent/vscode-opa#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: TODO
Development

No branches or pull requests

1 participant