Skip to content

Conversation

Techatrix
Copy link
Member

Thanks to @SuperAuguste we can use https://github.com/zigtools/zig-lsp-codegen to automatically create zig types for the LSP Specification, which more complete and accurate. From the users point of view not much should be changed.

I've also used this opportunity to rework zls's message handler processJsonRpc.
https://github.com/ziglibs/tres has been added as a submodule.

@SuperAuguste
Copy link
Member

So I've been working on this exact same thing in use-zig-lsp but with some of the issues you mention (like typechecking responses, for example) addressed. Not sure how to address both of these solutions existing. Maybe I can merge this and then try to rebase my work onto your branch?

@SuperAuguste SuperAuguste merged commit 61c0981 into zigtools:master Dec 27, 2022
@Techatrix Techatrix deleted the zig-lsp branch January 3, 2023 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants