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

When writing arguments to builtins like `@Type`, even when using inferred initialization syntax (i.e. `@Type(.{ .`), completions are now provided. This case is detected in exactly the same way as...

## Feeling out how disruptive this would be Ignoring missing semicolons (https://github.com/ziglang/zig/blob/eb5276c94eaab238551fdae9a2e77b0133e31cfb/lib/std/zig/Parse.zig#L876) solves ```zig const E = enum { foo, bar, baz, fn foo(e: E) void { switch (e) {.};...

zig version: 0.12.0-dev.1767+1e42a3de8 zls version: 0.11.0 ![image](https://github.com/zigtools/zls/assets/7351235/16db4c30-38bd-4c66-b341-d491fd4fa203) Is there a plan to fix it?

bug

## Remember to search before filing a new report It would be nice to be able to include a `zls.json` file within a project to maintain styling on a per...

feature

A lot of the builtins have parameter names that carry no useful information or are trivial to deduce based on the builtin name.

Most lines are indented, ie `line[0] == ' '`(a space). Tokenizing `line` as the sole buffer returns location offsets relative/within to that line, but are expected to be indexes within...

The Neovim plugin has been archived and is no longer maintained. The Author and the official docs of neovim `lsp-config`[^1] recommends . Please update the site. [^1]: https://github.com/neovim/nvim-lspconfig/wiki/Autocompletion

documentation
editor:vim

If we were to support generating config options with structs then they could be structured like the following example for inlay hints. ```zig inlay_hints: ?struct { /// Enable type hints...

documentation
enhancement

This makes it possible for users of the flake to override the Zig version which this is built with.

I recently saw #1764 which highlights deprecated symbols in the completion list and I think this is an awesome feature. Is it possible to extend that feature and highlight the...

enhancement