A non-official language server for Zig that provides IDE features like autocomplete and go-to-definition by implementing the Language Server Protocol (LSP).
- 0.17.0
- Published at
- 24d ago
- 5,270
- Stars
- 336,297
- Download
- Synced at
- 24d ago
Latest release
0.17.0Oct 19, 2026, 11:00 PMDownloads slow? Switch the source anytime above
README
Project Overview
ZLS (Zig Language Server) is a non-official implementation of the Language Server Protocol for Zig. It provides developers with IDE features such as autocomplete, hover information, and go-to-definition in their editors, enhancing the Zig development experience.
Key Features
- Completions: Provides context-aware code completion suggestions.
- Navigation: Supports go to definition/declaration and find references.
- Diagnostics: Provides real-time diagnostics for errors and warnings.
- Formatting: Code formatting based on
zig fmt. - Semantic Highlighting: Provides semantic-level syntax highlighting.
Target Audience
- Zig language developers
- Zig programmers who want good IDE support
- Developers interested in LSP and language toolchains
Quick Start
- Install: Download a pre-built binary or build from source from the Zigtools website.
- Editor Configuration: Configure your editor's LSP client to point to ZLS.
- Version Matching: Keep Zig and ZLS versions in sync, especially when using the Zig master branch.
Core Advantages
- Boosts Productivity: Elevates the Zig development experience to modern IDE levels.
- Community-Driven: Maintained by the Zigtools community with active contributors.
- Continuously Evolving: Under active development with new features being added.
System Requirements
- OS: Cross-platform (platforms supported by Zig)
- Additional Dependencies: Zig compiler (for building)
Release history
Sort