Need support? Wanna help out? Join our Discord server!
ZLS is a non-official implementation of the Language Server Protocol for Zig in Zig. It provides developers with IDE features in their editor.
Building ZLS requires a build of Zig master.
git clone https://github.com/zigtools/zls
cd zls
zig build -Doptimize=ReleaseSafe
ZLS supports most language features, including simple type function support, using namespace, payload capture type resolution, custom packages, cImport and others. Support for comptime and semantic analysis is Work-in-Progress.
The following LSP features are supported:
zig fmt
sublime-zig-language
by @prime31
src/data
to perform builtin autocompletionzig-lsp
by @xackus
known-folders
by @ziglibs
zls
by @zigtools
We'd like to take a second to thank all our awesome contributors and donators/backers/sponsors; if you have time or money to spare, consider partaking in either of these options - they help keep ZLS awesome for everyone!