{"id":13479889,"url":"https://github.com/zigtools/zls","last_synced_at":"2025-05-13T19:08:41.110Z","repository":{"id":38184971,"uuid":"258636766","full_name":"zigtools/zls","owner":"zigtools","description":"A Zig language server supporting Zig developers with features like autocomplete and goto definition","archived":false,"fork":false,"pushed_at":"2025-04-28T13:03:46.000Z","size":8427,"stargazers_count":3724,"open_issues_count":139,"forks_count":354,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-04-28T15:18:09.463Z","etag":null,"topics":["language-server","language-server-protocol","lsp","lsp-server","zig","ziglang","zls"],"latest_commit_sha":null,"homepage":"https://zigtools.org/zls/install/","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zigtools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"zigtools","open_collective":"zigtools"}},"created_at":"2020-04-24T22:19:50.000Z","updated_at":"2025-04-28T15:11:50.000Z","dependencies_parsed_at":"2024-01-18T17:16:14.972Z","dependency_job_id":"17b17211-ee79-4e07-bdd3-8b635a757c34","html_url":"https://github.com/zigtools/zls","commit_stats":{"total_commits":2301,"total_committers":193,"mean_commits":"11.922279792746114","dds":0.6145154280747501,"last_synced_commit":"b2e89dfe92850cf02cbd4b73004aaaecd5cf1739"},"previous_names":["superauguste/zls"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigtools%2Fzls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigtools%2Fzls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigtools%2Fzls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigtools%2Fzls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zigtools","download_url":"https://codeload.github.com/zigtools/zls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251336391,"owners_count":21573188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["language-server","language-server-protocol","lsp","lsp-server","zig","ziglang","zls"],"created_at":"2024-07-31T16:02:24.943Z","updated_at":"2025-04-28T15:18:16.676Z","avatar_url":"https://github.com/zigtools.png","language":"Zig","readme":"\u003cimg src=\"https://raw.githubusercontent.com/zigtools/zls/master/.github/assets/zls-opt.svg\" alt=\"ZLS Logo\" width=200\u003e\n\n[![CI](https://github.com/zigtools/zls/workflows/CI/badge.svg)](https://github.com/zigtools/zls/actions)\n[![codecov](https://codecov.io/github/zigtools/zls/graph/badge.svg?token=WE18MPF00W)](https://codecov.io/github/zigtools/zls)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**Need support? Wanna help out? Join our [Discord server](https://discord.gg/5m5U3qpUhk)!**\n\nZLS is a non-official implementation of the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) for [Zig](https://ziglang.org/) in Zig. It provides developers with IDE [features](#features) in their editor.\n\n## Installation\n\n### See the [Installation Guide](https://zigtools.org/zls/install/) for editor and binary installation instructions.\n\n### From Source\n\nBuilding ZLS requires [a build of Zig master](https://ziglang.org/download/).\n\n```bash\ngit clone https://github.com/zigtools/zls\ncd zls\nzig build -Doptimize=ReleaseSafe\n```\n\n## Features\n\nZLS supports most language features, including simple type function support, using namespace, payload capture type resolution, custom packages, cImport and others. Support for comptime and semantic analysis is Work-in-Progress.\n\nThe following LSP features are supported:\n\n- Completions\n- Hover\n- Goto definition/declaration\n- Document symbols\n- Find references\n- Rename symbol\n- Formatting using `zig fmt`\n- Semantic token highlighting\n- Inlay hints\n- Code actions\n- Selection ranges\n- Folding regions\n\n## Related Projects\n\n- [`sublime-zig-language` by @prime31](https://github.com/prime31/sublime-zig-language)\n  - Supports basic language features\n  - Uses data provided by `src/data` to perform builtin autocompletion\n- [`zig-lsp` by @xackus](https://github.com/xackus/zig-lsp)\n  - Inspiration for ZLS\n- [`known-folders` by @ziglibs](https://github.com/ziglibs/known-folders)\n  - Provides API to access known folders on Linux, Windows and Mac OS\n- [`zls` by @zigtools](https://github.com/zigtools/zls)\n  - Used by many ZLS developers to more efficiently work on ZLS\n\n## Quick Thanks :)\n\nWe'd like to take a second to thank all our awesome [contributors](https://github.com/zigtools/zls/graphs/contributors) and donators/backers/sponsors; if you have time or money to spare, consider partaking in either of these options - they help keep ZLS awesome for everyone!\n\n[![OpenCollective Backers](https://opencollective.com/zigtools/backers.svg?width=890\u0026limit=1000)](https://opencollective.com/zigtools#category-CONTRIBUTE)\n","funding_links":["https://github.com/sponsors/zigtools","https://opencollective.com/zigtools"],"categories":["Fundamentals","Editor \u0026 IDE Support","Zig","Editor plugins","Development Tools","计算机编程_数据结构与算法","zig","Repos"],"sub_categories":["Text Editors","资源传输下载"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigtools%2Fzls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzigtools%2Fzls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigtools%2Fzls/lists"}