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

Using the TS language server as a reference indicates that we should include variables in functions and blocks in our `documentSymbol` results etc.

enhancement
priority:low

### Zig Version 0.15.0-dev.369+1a2ceb36c ### ZLS Version 0.15.0-dev.64+e81b740 ### Client / Code Editor / Extensions Helix ### Steps to Reproduce and Observed Behavior ```elvish mkdir -p main && cd main...

bug
zig build system

This is the experience I get when I type something in TigerBeetle's replica.zig https://github.com/user-attachments/assets/b3b36e10-0b28-4cf1-ad48-d38d1b472979 Note how the red squiggly "chases" my cursor, because I can type faster than the time...

optimization

For example: ```zig const std = @import("std"); const S = struct { i: i32 }; pub fn main() void { var runtime_bool: bool = true; _ = &runtime_bool; const foo:...

bug

Here is how this could look like: ![Image](https://github.com/user-attachments/assets/6f2aee5a-7bfa-4426-bbd5-f32842f79854) FYI: I just noticed that goto definition on a function declaration will jump to the doctest. I don't think that's been intentional...

feature

### Zig Version 0.15.0-dev.646+ef35c3d5f ### ZLS Version 0.15.0-dev.129+bb6d6473 ### Client / Code Editor / Extensions vscode 1.100.2 ### Steps to Reproduce and Observed Behavior Taking this code path https://github.com/zigtools/zls/blob/f6580bf87eaf67bd37d776f04d780016f121e647/src/Server.zig#L1056 I've...

bug
zig build system

Self-explanatory. This would help improve UX and debugging for `build.zig` package resolution failures. We could maybe even add a way to see what packages zls has picked up, such as...

enhancement
priority:medium
ux
zig build system

### Zig Version 0.14.0 ### ZLS Version Entering that command is not returning anything, it tells me it can't find it. I otherwise have absolutely no idea how to get...

crash

Related to #1476 (that has been reverted, so no semicolon insertion exists currently). Maybe overall a better solution to inserting a semicolon if getting "expected ';' " error(s) - is...

feature

It would be really nice if there was a "move this struct to a new file" LSP action that becomes available when you select `const Foo = struct {...`. This...

feature