-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
[RFC] Extract LSP protocol-only code to a separate shard #54
Comments
Yes definitely, for the time being under It should be pretty quick and I can work on it in the following days + a PR to make On a side note, extracting the LSP should not be blocking any other topics since it does not change anything internally to import it or use the embedded version |
Definitely! Another thing I was thinking is that right now types aren't defined in places where it's idiomatic to find them. For example |
There we go for the extracted shard: https://github.com/elbywan/crystal-lsp
Sure! I will handle this in the follow up pull request to plug the new shard into crystalline. |
Thank you, this is fantastic! I really like it that you also extracted the server and the loop, so an implementor just needs to define the |
Thanks! This is the way I designed the LSP part from the start, so people can reuse the server if they don't want to reinvent the wheel 😉. And there we go for the follow-up PR integrating the shard and cleaning up things a bit: #56 So I think we should be good regarding the LSP side now! |
Extracted from #53
I think it would be nice to extract the code that's exclusive to LSP to a separate shard. The advantages of doing that are:
One possible place for this new repo could be in
elbywan
. Another place could be crystal-community to encourage contributions.The text was updated successfully, but these errors were encountered: