zls
zls copied to clipboard
A language server for Zig supporting developers with features like autocomplete and goto definition
Zig files usually begin with a bunch of `@imports` like this: ```zig const std = @import("std"); const Ast = std.zig.Ast; const Server = @import("../Server.zig"); const DocumentStore = @import("../DocumentStore.zig"); const types...
### Zig Version 0.13.0 ### ZLS Version 0.13.0 ### Client / Code Editor / Extensions VSCode with Zig Language extension ### Steps to Reproduce and Observed Behavior Writing code leads...
### Zig Version 0.14.0-dev.2034+56996a280 ### ZLS Version 0.14.0-dev.179+5acc066 ### Client / Code Editor / Extensions Zed 0.158.2 ### Steps to Reproduce and Observed Behavior Can recreate with this [repo](https://github.com/iamcdonald/zed-syntax-highlighting-test). -...
…and it makes my life completely miserable. Basically, if you have a function such as `openDir` and you only put the path in (`openDir(".", `), then ZLS would set the...
### Zig Version 0.14.0-dev.2032+c563ba6b1 ### ZLS Version 0.14.0-dev.179+5acc066 ### Client / Code Editor / Extensions vim 9.1 with coc ### Steps to Reproduce and Observed Behavior open zig file with...
Zig's code supports compile-time calculations. Complex types are difficult to get results through syntax analysis. Only the Zig compiler can understand its code most accurately. Does ZLS plan to use...
### Zig Version 0.14.0-dev.2034+56996a280 ### ZLS Version 0.14.0-dev.179+5acc066 ### Client / Code Editor / Extensions Zed 0.158.2 ### Steps to Reproduce and Observed Behavior Hi, not sure if this is...
https://ziglang.org/documentation/master/#Keyword-Reference same idea as how zls currently uses the langref for docs on builtin functions example from rust-analyzer 
### Zig Version 0.14.0 ### ZLS Version 0.14.0 ### Client / Code Editor / Extensions Version: 1.98.0 Commit: 6609ac3d66f4eade5cf376d1cb76f13985724bcb Date: 2025-03-04T21:06:18.612Z Electron: 34.2.0 ElectronBuildId: 11044223 Chromium: 132.0.6834.196 Node.js: 20.18.2 V8:...