zls
zls copied to clipboard
A language server for Zig supporting developers with features like autocomplete and goto definition
# Organize Imports Diagnostic and Code Action This PR adds a diagnostic and a code action to organize imports in the current Zig file. The code action is available in...
### Zig Version N/A ### ZLS Version 66f0f90ec5468fbea1f7b65451eff5ca70d8f305 ### Client / Code Editor / Extensions _No response_ ### Steps to Reproduce and Observed Behavior Run `nix shell github:zigtools/zls/66f0f90ec5468fbea1f7b65451eff5ca70d8f305`. ### Expected...
generic type not applied when 2 struct generated from the same function. It just takes the first one
### Zig Version 0.14.0-dev.1939+816dfca0b ### ZLS Version 0.13.0 ### Client / Code Editor / Extensions vscode ### Steps to Reproduce and Observed Behavior zigling version 0.13.0 exercice 80 ``` //...
### Zig Version 0.14.0-dev.1511+54b668f8a ### ZLS Version 0.14.0-dev.147+dd78968 ### Client / Code Editor / Extensions VS Code ### Steps to Reproduce and Observed Behavior If you use Go To Declaration...
Say I'm working on a function, and realize I'll need another method to finish it: ```zig pub fn doingSomething(self: @This(), param: SomeParameter) void { // stuff const return = self.doSomethingNew(value);...
Still creates the first open parameter brace This helps me when I want to wrap an existing value in a new function, since I tend to program inside-out, and the...
currently asking for the type definition of a function just goes to the beginning of the functions definition. im not sure what exactly is the general consensus for what this...
I didn't see this in the open issues, apologies if I missed it. I have some code like this, in the usual sort of type-returning function: ```zig return struct {...
In its current state, ZLS is only able to report syntax errors and errors that are provided by `zig ast-check`. Everything else (like semantic analysis) is not available. Here are...
### Zig Version 0.14.0-dev.1820+ea527f7a8 ### ZLS Version 0.14.0-dev.167+063d7ff ### Client / Code Editor / Extensions Visual Studio Code-1.94.0 ### Steps to Reproduce and Observed Behavior Init new project with `zig...