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

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...

enhancement

### Zig Version 0.11.0-dev.1255+f7ade7e63 ### Zig Language Server Version 2717b0fba19daba897f86dd6de4b8b590bfee516 ### Steps to Reproduce ![image](https://user-images.githubusercontent.com/5464072/211977413-051cfe12-4def-4806-b35e-9fd543ec26f8.png) ![image](https://user-images.githubusercontent.com/5464072/211977752-93efb367-876b-4874-b06b-a4493f3e2699.png) ![image](https://user-images.githubusercontent.com/5464072/211977999-4ec7aa7e-1b06-4996-a031-f0ed56a432f1.png) ### Expected Behavior the same completion as image 2 with the code of...

bug

### 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...

bug
editor:emacs

ZLS knows that the `Bin.NamesIterator` struct has no function named `foo` (it is missing from autocomplete): But no error is generated:

enhancement

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...

bug
zig build system

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...