DOCUMENTATION: https://microsoft.github.io/language-server-protocol/
- LSP uses JSDoc for documentation
- Change Log:
- `\r\n` is used as the main delimiter in the protocol
- Used to terminate field entries in the header
- Used again to separate the header from the content
- Header has only 2 supported fields:
- Content-Length
- Content-Type
- See the following for valid content-types:
- Content: goes over this in detail, but is pretty much just the JSON response/request
- After a quick review of JSON-RPC used in the spec, JSON-RPC isn't JSON, but JSON-based?? Great, now I gotta learn another language :(
- JSON-RPC spec:
- Nevermind, the API for it is just written in TypeScript for some ungodly reason (Do I really need type safety for an API description??)
- The spec enforces the use ECMAScript Regex in messages. (Will this be an issue in PowerShell or C#?)
- Holy moly this doc is humungous
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.