zigtools/zls

A language server for Zig supporting developers with features like autocomplete and goto definition

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 25 minutes ago
Added to GitGenius on September 13th, 2026
Created on April 24th, 2020
Open Issues & Pull Requests: 169 (+0)
GitHub issues: Enabled
Number of forks: 447
Total Stargazers: 5,127 (+0)
Total Subscribers: 31 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

ZLS is a language server for Zig that brings IDE features like autocomplete, hover information, and goto definition into editors that support the Language Server Protocol.

Zig developers lack the rich editor integration available in more mature languages. ZLS solves this by implementing the Language Server Protocol for Zig, written in Zig itself. The tool performs semantic analysis on Zig code to provide completions, diagnostics, symbol navigation, and refactoring capabilities. It supports most Zig language features including type functions and payload capture type resolution, though comptime and full semantic analysis remain works in progress.

Developers working with Zig should adopt ZLS if they want standard IDE conveniences in their editor of choice. The tool supports the majority of LSP features including diagnostics with optional build-on-save, workspace and document symbols, find references, rename operations, formatting via zig fmt, semantic token highlighting, inlay hints, and code actions. Installation is straightforward through prebuilt binaries or building from source, with editor setup guides available. A critical constraint exists: ZLS currently lacks proper build system integration with Zig nightly and master branches, making it necessary to use matching versions of both tools to avoid compatibility issues.

The project maintains active engagement with its community through a contributor graph and accepts both code contributions and financial support. Development activity shows responsiveness to integration challenges, as evidenced by tracking of build system issues. The tool continues to expand language feature coverage while addressing gaps in comptime and semantic analysis support.