Skip to content

Use zig-lsp-codegen#850

Merged
SuperAuguste merged 21 commits into
zigtools:masterfrom
Techatrix:zig-lsp
Dec 27, 2022
Merged

Use zig-lsp-codegen#850
SuperAuguste merged 21 commits into
zigtools:masterfrom
Techatrix:zig-lsp

Conversation

@Techatrix

Copy link
Copy Markdown
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
Copy Markdown
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