zls
zls copied to clipboard
A language server for Zig supporting developers with features like autocomplete and goto definition
### Zig Version 0.12.0-dev.978+78855bd21 ### Zig Language Server Version 1a282b30cccb6dd52438fa1ef6e6b887069e109f ### Steps to Reproduce ```zig const E = enum { foo, bar, baz, fn foo(e: E) void { switch (e)...
### Zig Version 0.12.0-dev.899+027aabf49 ### Zig Language Server Version 1a282b30cccb6dd52438fa1ef6e6b887069e109f ### Steps to Reproduce 1. Paste the following code: ```zig pub const bar = struct { pub const baz =...
With or without comptime stuff in ZLS, it would be cool to add special support for the Zig `std.zig` system.
```zig const TestStr = struct { const StrInside = struct { a: f32, b: f32, }; fn func() void { var str = StrInside{ . // ---> shows nothing. Should...
This has partially be brought up in #1000 and #1019 With the numerous breaking changes to the Zig language and its build system, it became harder to maintain compatibility with...
### Zig Version 0.12.0-dev.1101+25400fadf ### Zig Language Server Version e4593da63e57f83d40507b958c0b81125dd55156 ### Steps to Reproduce I am unsure if this is an issue with ZLS directly or the Neovim LSP implementation,...
### Zig Version 0.11.0-dev.3322+82632aff2 ### Zig Language Server Version 0.11.0-dev.469+4f0762a ### Steps to Reproduce Using VS Code with the Zig extension, with the following code: ```zig const my_slice: []const f32...
Everything in the angle brackets (``) represent a inlay hint. Hovering over `alpha` in the struct init can already show the type, so adding a type hint should be easy...
### Zig Version 0.11.0-dev.2571+31738de28 ### Zig Language Server Version 0.11.0-dev.378+5457cec ### Steps to Reproduce Empty parentheses. Related to https://github.com/ziglang/vscode-zig/issues/97 ### Expected Behavior This behavior is without ZLS.  ### Actual...
 This otherwise duplicate the information, it add useless noise Same for ``type`` with stuff like ``struct``, it's pointless information