zls
zls copied to clipboard
A language server for Zig supporting developers with features like autocomplete and goto definition
For clients that support the ApplyEdit capability, the code completion can return a range that allows the editor to replace text instead of only inserting new text. For example, in...
### Zig Version 0.11.0-dev.1255+f7ade7e63 ### Zig Language Server Version 2717b0fba19daba897f86dd6de4b8b590bfee516 ### Steps to Reproduce    ### Expected Behavior the same completion as image 2 with the code of...
### Zig Version 0.11.0-dev.1095+8bd734d60 ### Zig Language Server Version 0.11.0-dev.107+20baa59 ### Steps to Reproduce * In a fresh emacs `M-x install-packages` and install `lsp-mode` and `zig-mode` * In the scratch...
ZLS knows that the `Bin.NamesIterator` struct has no function named `foo` (it is missing from autocomplete): But no error is generated:
I think it's highly preferable to be consistent in how things are written in terms of what the eye gets, especially on the index page where new people usually look...
### Zig Version 0.13.0 (compiled from source a few days ago) ### Zig Language Server Version 0.14.0-dev.1+c5ceadf ### Client / Code Editor / Extensions VSCode ### Steps to Reproduce and...
This PR adds hover support for structs, enums, and unions without displaying member functions, as discussed in #1568. Going off of [this comment](https://github.com/zigtools/zls/issues/1568#issuecomment-1813323060) from this issue, I also changed the...
This is needed because of some text editors that does't have support of sending options via i_haz_configuration
This PR adds a few things: - A code action to convert string literals to multiline string literals (see https://github.com/zigtools/zls/issues/689#issuecomment-1349087990) - A code action to convert multiline string literals to...