Skip to content
项目

关于

Zig 语言服务器,为开发者提供自动补全和跳转到定义等功能

其他项目

这些数字如何统计

可以做什么

  • Diagnostics and opt-in build-on-save
  • Go to definition/declaration
  • Workspace symbols and document symbols
  • Find references and rename symbol

实测星标增长

24小时
+13
7天
+63
15天
+104
1个月
+125

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
ZLS Logo

CI codecov License: MIT Discord

ZLS is a non-official implementation of the Language Server Protocol for Zig in Zig. It provides developers with IDE features in their editor.

Installation

The complete installation guide is available on the Zigtools website. It covers editor setup, prebuilt binaries and additional documentation.

Build From Source

The default branch of ZLS targets Zig master.

git clone https://github.com/zigtools/zls
cd zls
zig build -Doptimize=ReleaseSafe

When upgrading Zig, make sure to update ZLS too keep them in sync.

Features

ZLS supports most language features, including simple type function support, payload capture type resolution, custom packages, and others. Support for comptime and semantic analysis is Work-in-Progress.

The majority of LSP features are supported:

  • Completions
  • Hover
  • Diagnostics and opt-in build-on-save
  • Go to definition/declaration
  • Workspace symbols and document symbols
  • Find references and rename symbol
  • Formatting based on zig fmt
  • Semantic tokens highlighting
  • Inlay hints
  • Code actions

Contributing

Please see the contributing guide if you're interested in joining all our awesome contributors that keep ZLS alive and growing!

Sponsor

You can support ZLS's development by donating through Open Collective (or GitHub Sponsors). Thank you too all our donators/backers/sponsors who help to keep ZLS awesome for everyone!

OpenCollective Backers

探索相关项目

加载中…