¿Qué es ZLS?
ZLS (Zig Language Server) is a Implementación del protocolo de servidor de lenguaje para Zig written in Zig by the zigtools community. It provides developers with modern IDE features like autocomplete, goto definition, hover information, and semantic analysis in their favorite editors. With over 4k GitHub stars, it's the essential tool for productive Zig development.
⚡ Key Features of ZLS
💡 Smart Completions
Intelligent autocomplete for functions, variables, types, and imports. Context-aware suggestions based on current scope and available symbols.
🔍 Navigation Features
Goto definition/declaration, find references, and document symbols. Navigate large Zig codebases with ease and precision.
📝 Code Intelligence
Hover information, semantic token highlighting, and inlay hints. Understand code structure and types without manual lookup.
🛠️ Development Tools
Automatic formatting with zig fmt, code actions, selection ranges, and folding regions for better code organization.
🔄 Symbol Operations
Rename symbols across entire codebase, find all references, and document symbol outline for project navigation.
📦 Package Support
Custom package resolution, cImport support, and namespace handling for complex Zig projects and dependencies.
🎯 Supported Editors & IDEs
- VS Code: Official Zig extension with ZLS integration
- Neovim/Vim: Native LSP support and dedicated plugins
- Emacs: lsp-mode and eglot compatibility
- Sublime Text: LSP package integration
- Kate/KDevelop: Built-in LSP support
- Any LSP-compatible editor: Universal Language Server Protocol support
📦 Instalación desde deb-free.griffo.io
Paso 1: Agregar repositorio
Paso 2: Instalar ZLS
🎯 Editor Setup Examples
VS Code setup:
Neovim setup (with nvim-lspconfig):
Basic ZLS configuration:
🚀 ¿Por qué elegir deb-free.griffo.io?
- Official Ubuntu: ZLS not available in official repositories
- Manual Compilation: Requires Zig master and complex build process
- Binary Downloads: Manual updates and no package management
- deb.griffo.io (principal): Cada versión pocas horas después del upstream
- ✅ Soporte de lenguaje reciente: Recibe el soporte de funciones de Zig con como máximo 2 meses de retraso, gratis para siempre
- ✅ No Manual Compilation: Pre-built binaries, no Zig master required
- ✅ Actualizaciones automáticas: Paquetes actualizados vía apt; las correcciones de seguridad se publican de inmediato
- ✅ Stable & Nightly: Both stable and cutting-edge versions available
- ✅ Multi-Distribution: Works on Jammy and Noble
- ✅ Easy Maintenance: Standard apt commands for updates
📦 Repositorio de construcción de paquetes
Los paquetes de Ubuntu se construyen y mantienen automáticamente en estos repositorios de GitHub:
- 🇿 zls-debian (stable) - Stable release builds
- 🇿 zls-master-debian (nightly) - Nightly development builds
🔗 Paquetes relacionados
También disponible desde deb.griffo.io:
- Zig Programming Language - Required for ZLS development
- fzf Fuzzy Finder - Enhanced file navigation