zls
zls copied to clipboard
A language server for Zig supporting developers with features like autocomplete and goto definition
### Zig Version 0.14.0-dev.3239+d7b93c787 ### ZLS Version 0.14.0-dev.390+188a4c0 ### Client / Code Editor / Extensions vscode ### Steps to Reproduce and Observed Behavior ```zig pub fn main() !void { const...
I already get a compile error when using declarations deprecated with `@compileError`, seeing the ones only deprecated with doc comments is much more useful. On a related note, why aren't...
### Zig Version 0.13.0 ### ZLS Version 0.13.0 ### Client / Code Editor / Extensions NVIM v0.10.3 ### Steps to Reproduce and Observed Behavior Following code snippet will make zls...
Usually the reason to use *zig fmt: off* is that one wants the text to preserve the exact formatting given by the author. Inlay hints are quite disruptive in such...
Adds some tracking of comptime types. changes formatting for comptime structs, e.g. `HashMap(...)` -> `HashMap(i32,void)`. maybe just a preference of mine? but i like seeing it. could easily change the...
### Zig Version 0.13.0 ### ZLS Version 0.13.0 ### Client / Code Editor / Extensions NVIM v0.11.0-dev-1664+ge71d2c817d / nvim-lspconfig ### Steps to Reproduce and Observed Behavior zls incorrectly says the...
### Zig Version 0.14.0-dev.2987+183bb8b08 ### ZLS Version 0.14.0-dev.366+d3d11a0 ### Client / Code Editor / Extensions vscode ### Steps to Reproduce and Observed Behavior ```zig const S = struct { a:...
### Zig Version 0.14.0-dev.2987+183bb8b08 ### ZLS Version 0.14.0-dev.366+d3d11a0 ### Client / Code Editor / Extensions vscode ### Steps to Reproduce and Observed Behavior ```zig const S = struct { a:...
### Zig Version 0.14.0-dev.365+6a16b27 ### ZLS Version 0.14.0-dev.2802+257054a14 ### Client / Code Editor / Extensions VSCodium 1.94.2 with vscode-zig v0.6.4 ### Steps to Reproduce and Observed Behavior 1. create the...
I think that the LSP might be putting suggestions with a compiler error before other suggestions, although it is also possible that this is a issue with my text editor...