zls icon indicating copy to clipboard operation
zls copied to clipboard

A language server for Zig supporting developers with features like autocomplete and goto definition

Results 332 zls issues
Sort by recently updated
recently updated
newest added

This is what `gopls` does: whenever the cursor is on top of the `%s`, it highlights the matching argument using the same technique as LSP highlight references to the same...

enhancement

### Zig Version 0.14.0 ### ZLS Version 0.14.0 ### Client / Code Editor / Extensions nvim 0.10.4 with nvim-lspconfig ### Steps to Reproduce and Observed Behavior 1. clone https://github.com/Sped0n/zh (commit...

bug

My proposal is to enhance autocompletion for functions like `std.mem.zeroInit`. This function requires to pass a `type` and `anytype` to the function, to initialize fields to zeroes. When we do...

enhancement

ZLS fails to give type information when using `MultiArrayList`, here's an example: ``` const Foo = struct { bar: usize, baz: []const u8, }; pub fn main() !void { var...

enhancement

ZLS 0.15 added non-standard `mutable` modifier for variables which is a great feature. However for better integration with various tools it's better to use the standard `readonly` modifier on constants....

enhancement

ZLS had an inaccurate view of how modules work in the build system. It would previously merge every module in the entire build graph into one single module which can...

Resolves https://github.com/zigtools/zls/issues/2525 The minimum version now corresponds to [this](https://codeberg.org/ziglang/zig/commit/5d96a58f1d02d162fdff3e0ef0d742ee1d5074a7) commit - which matches what I'm currently running - but the build actually started failing since [#30018](https://codeberg.org/ziglang/zig/pulls/30018). I don't use Nix...

See my initial PR #2350 which revealed some problems when using with CoC or the builtin LSP in Neovim: > Vim defines preferred [highlighting groups](https://neovim.io/doc/user/syntax.html#group-name) to share group names between...

enhancement
editor:vim
priority:low

```zig fn BuildFieldEnum(comptime T: type) type { const fields = @typeInfo(T).@"struct".fields; var enum_fields: [fields.len]std.builtin.Type.EnumField = undefined; inline for (fields, 0..) |field, i| { enum_fields[i] = .{ .name = field.name, .value...

bug

### Zig Version 0.16.0-dev.1569+db15df5da ### ZLS Version 60cff3d69f6072b840aa588fb8454fac9a95fbe1 ### Client / Code Editor / Extensions _No response_ ### Steps to Reproduce and Observed Behavior I build `zig` from source with...

bug