Can the LSP library be used in other LSPs? #1542
Replies: 2 comments 1 reply
-
Yes, the LSP library should be a good starting point to build other LSPs and it is already packaged separately: https://ocaml.org/p/lsp/latest It provides a description of the protocol with Yojson encoders and decoders. I am not familiar with it but would expect one need to instantiate the I think we would be perfectly happy to review and add simpler usage examples for people who want to build on it. Another option would be a repository that shows how to use the |
Beta Was this translation helpful? Give feedback.
-
I don't see a need for any heavy changes to do for the library. As far as I can tell, there are no other projects that use this library, so it that definitely exasperates the need for a simple example. I'll see what I can do to get one up and running! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When looking for an LSP library for my own LSP, I came across this post which recommended using the LSP library from ocaml-lsp. I was able to import it into my project, though I'm not exactly sure where to start. It would be very helpful if there was an example of a simple, minimal LSP that uses this library. In fact, perhaps I can fork this library and turn it into a dedicated LSP library, rather than it just being a part of the ocaml-lsp. What do you guys think? I'll start by figuring out how to get a simple LSP up and running. Once that's done, I'll try to communicate what I learned in a basic GETTING_STARTED.md for using the library. Any help is greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions