https://github.com/sean-codes/lsp-notes
hi, these are some notes / examples while research language server protocol
https://github.com/sean-codes/lsp-notes
Last synced: 3 months ago
JSON representation
hi, these are some notes / examples while research language server protocol
- Host: GitHub
- URL: https://github.com/sean-codes/lsp-notes
- Owner: sean-codes
- Created: 2023-02-28T07:39:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-09T01:27:30.000Z (over 3 years ago)
- Last Synced: 2025-03-05T22:44:18.320Z (over 1 year ago)
- Language: JavaScript
- Size: 485 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JSON RPC / LSP Notes
Hello, these are some notes I took while exploring JSON RPC / Microsoft Language Server Protocol.
These start with rpc basics and end with running a typescript language server to parse a ``

## Examples / Notes:
- [RPC Basics](./notes/0_rpc.md)
- [JSON RPC](./notes/1_json_rpc.md)
- [LSP Basics](./notes/2_lsp.md)
- [LSP Using External Server](./notes/3_lsp_external.md)
- [LSP Browser Textarea](./notes/4_lsp_textarea.md)
## How to run examples 0-4
```
npm install
npm run example_X
```
# References
- rpc: https://en.wikipedia.org/wiki/Remote_procedure_call
- json-rpc: https://www.jsonrpc.org/
- lsp: https://github.com/microsoft/vscode-languageserver-node/tree/main/jsonrpc
- lsp github: https://github.com/microsoft/vscode-languageserver-node/tree/main/jsonrpc