awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
zigtools avatar

zigtools/zls

0
View on GitHub↗
4,960 星标·435 分支·Zig·MIT·7 次浏览zigtools.org/zls/install↗

Zls

ZLS 是 Zig 语言的语言服务器,实现了语言服务器协议 (LSP) 以提供类似 IDE 的智能功能。它作为代码智能提供程序、静态代码分析工具和 Zig 项目的自动化重构引擎运行。

该服务器直接与 Zig 编译器工具链集成,以获取精确的类型信息并执行语义分析。它利用这种集成将实时编译错误显示为编辑器诊断信息,并基于已解析的类型(而非正则表达式)提供语义语法高亮。

该项目涵盖了广泛的开发功能,包括符号导航、代码补全和内嵌提示 (inlay hints)。它提供了用于符号重命名、源代码格式化和导入整理的重构工具。此外,它还管理构建自动化,包括保存时自动构建和依赖项获取。

该服务器支持通过 JSON Schema 进行配置验证,并集成了 Sublime Text 和 JetBrains IDE 等编辑器。

Features

  • Language Server Protocol Integrations - Implements the Language Server Protocol to provide IDE-like intelligence and automation for the Zig language.
  • Code Intelligence Providers - Functions as a backend providing autocomplete, symbol navigation, and semantic intelligence for the Zig language.
  • LSP Server Implementations - Implements the Language Server Protocol via JSON-RPC to provide intelligence to various text editors.
  • Code Completion - Provides real-time suggestions for symbols and expressions as the user types to accelerate development.
  • Automated Code Refactoring - Performs bulk symbol renaming and applies automatic fixes to maintain a clean Zig codebase.
  • Definition Navigation - Enables jumping directly from a symbol usage to its definition within the source code.
  • Language Server Protocols - Communicates with text editors through the standardized Language Server Protocol to deliver tooling.
  • Language Servers - Implements the Language Server Protocol to deliver IDE-like intelligence and automation for Zig.
  • Static Code Analysis - Identifies compilation errors and analyzes symbol references across projects to ensure code correctness.
  • Symbol Indexing - Implements symbol indexing to enable efficient navigation between definitions and call sites across the project.
  • In-Process Integrations - Interfaces directly with the Zig compiler within the server process for low-latency type information retrieval.
  • In-Process Runtimes - Executes compiler logic within the same process as the server to minimize metadata retrieval latency.
  • Language Development Environments - Provides a development environment for Zig with autocomplete, symbol navigation, and real-time error checking.
  • Compiler-Integrated Analysis - Integrates directly with the Zig compiler to resolve symbols and derive precise type information for analysis.
  • Semantic Syntax Highlighting - Provides syntax highlighting based on the resolved semantic meaning and types of identifiers.
  • Automated Refactoring Engines - Implements a programmatic engine for codebase-wide symbol renaming and automatic code fixes.
  • Codebase Symbol References - Locates all instances where a specific symbol is used across a project to assess the impact of changes.
  • Symbol Renamers - Provides project-wide symbol renaming to ensure consistent naming and referential integrity.
  • Static Code Analysis Tools - Integrates with the Zig compiler to derive type information and surface compilation errors as diagnostics.
  • Automated Code Fixes - Programmatically applies edits to resolve common code issues and bypass editor limitations.
  • Automated Code Fix Suggestions - Proposes quick fixes and refactorings at specific code locations to resolve errors or improve quality.
  • Inlay Hints - Displays inline text hints in the editor to reveal inferred types and parameter names.
  • Source Code Formatters - Implements a standard formatter to adjust code indentation and style for project consistency.
  • Hover Information Displays - Displays type information and documentation for symbols via inline popups on mouse hover.
  • Syntax Highlighting & Indentation - Provides semantic syntax highlighting and automatic indentation to improve source code readability.
  • Build Automation - Triggers project compilation on save and manages target architectures and dependency fetching.
  • Zig Language Environments - Provides utilities for managing Zig project builds, dependency fetching, and environment installation.
  • Build-Triggered Diagnostics - Triggers project compilation upon saving files to surface compiler errors as real-time editor diagnostics.

Star 历史

zigtools/zls 的 Star 历史图表zigtools/zls 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Zls 的开源替代方案

相似的开源项目,按与 Zls 的功能重合度排序。
  • emacs-lsp/lsp-modeemacs-lsp 的头像

    emacs-lsp/lsp-mode

    5,060在 GitHub 上查看↗

    lsp-mode is a Language Server Protocol client and IDE feature set for Emacs. It functions as a semantic code analysis tool and JSON-RPC communication layer that connects the editor to external language servers to provide intelligent code completion and real-time diagnostics. The project also serves as a Debug Adapter Protocol client, enabling interactive debugging sessions and breakpoint management. This allows for stepping through code and inspecting variables via a standardized protocol, including support for debugging within Docker containers. The system covers a broad range of developmen

    Emacs Lispangularcppdart
    在 GitHub 上查看↗5,060
  • golang/vscode-gogolang 的头像

    golang/vscode-go

    4,256在 GitHub 上查看↗

    This project is a language extension for VS Code that provides comprehensive Go language support. It functions as a language server client, a debugger interface, and a toolchain manager to facilitate Go application development. The extension distinguishes itself by integrating a full suite of toolchain management capabilities, allowing for the installation and configuration of required binaries, linters, and compiler versions directly within the editor. It also provides deep integration for interactive debugging via Delve, supporting remote target debugging, process attachment, and program st

    TypeScriptdebuggergolangvisual-studio-code
    在 GitHub 上查看↗4,256
  • rust-lang/rlsrust-lang 的头像

    rust-lang/rls

    3,509在 GitHub 上查看↗

    RLS is a language server that provides language intelligence for the Rust programming language. It implements the Language Server Protocol to enable a standardized communication layer between the Rust compiler and various editor clients. The project focuses on providing real-time code completions, symbol navigation, and type information. It also supports automated structural changes, such as workspace-wide symbol renaming, to maintain semantic correctness during refactoring. The system incorporates static code analysis for linting and formatting, alongside a mechanism for incremental compila

    Rustidelanguage-server-protocolrust
    在 GitHub 上查看↗3,509
  • rust-lang/rust-analyzerrust-lang 的头像

    rust-lang/rust-analyzer

    16,590在 GitHub 上查看↗

    Rust-analyzer is a language server implementation that provides real-time code intelligence, static analysis, and development productivity tools for the Rust programming language. It functions as a backend engine that communicates with text editors to deliver deep structural understanding of source code, enabling features like semantic analysis, symbol navigation, and automated refactoring. The project distinguishes itself through a core engine designed for high-performance responsiveness, utilizing incremental query-based compilation and lazy demand-driven evaluation to minimize resource con

    Rusthacktoberfestlsp-serverrust
    在 GitHub 上查看↗16,590
查看 Zls 的所有 30 个替代方案→

常见问题解答

zigtools/zls 是做什么的?

ZLS 是 Zig 语言的语言服务器,实现了语言服务器协议 (LSP) 以提供类似 IDE 的智能功能。它作为代码智能提供程序、静态代码分析工具和 Zig 项目的自动化重构引擎运行。

zigtools/zls 的主要功能有哪些?

zigtools/zls 的主要功能包括:Language Server Protocol Integrations, Code Intelligence Providers, LSP Server Implementations, Code Completion, Automated Code Refactoring, Definition Navigation, Language Server Protocols, Language Servers。

zigtools/zls 有哪些开源替代品?

zigtools/zls 的开源替代品包括: emacs-lsp/lsp-mode — lsp-mode is a Language Server Protocol client and IDE feature set for Emacs. It functions as a semantic code analysis… golang/vscode-go — This project is a language extension for VS Code that provides comprehensive Go language support. It functions as a… rust-lang/rls — RLS is a language server that provides language intelligence for the Rust programming language. It implements the… rust-lang/rust-analyzer — Rust-analyzer is a language server implementation that provides real-time code intelligence, static analysis, and… myriad-dreamin/tinymist — Tinymist is a comprehensive suite of tools for Typst document authoring, serving as a language server, document… luals/lua-language-server — lua-language-server is a static analysis tool and type checker for the Lua language that implements the Language…