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

[It's alive!](https://twitter.com/hackeroftacos/status/1655395177341517825)

## Roadmap - [x] Add a `zls.optInTelemetry` option - [x] Implement client for OTEL middleman in Zig - [x] Host some sort of telemetry server ## Metrics - [x] Starts/stops...

enhancement

### Zig Version 0.11.0-dev.1863+a63134a4a ### Zig Language Server Version latest ### Steps to Reproduce Code: ```zig var zig_str = if (value.isString()) value.getZigString(globalThis) else ZigString.Empty; if (!zig_str.isAllASCII()) { // ^ cursor...

bug

`references.zig` uses `DocumentStore.collectDependencies` which collects the imports a file specifies; this incorrect - we should be collecting dependents (files that import the current file), not dependencies (files that the current...

bug

### Zig Version 0.11.0-dev.2317+46b2f1f70 ### Zig Language Server Version HEAD ### Steps to Reproduce This started happening today? Not sure if code change causes it or if zls change 1....

bug

### Zig Version 0.11.0-dev.2571+31738de28 ### Zig Language Server Version HEAD ### Steps to Reproduce 1. Reference a module 2. Press . Note that it always highlights `JSC` as "red" unless...

bug

Semi-reviving #870. Additionally this might allow us to do some: * Build on save * Hot reload on save (🙀) Here's a nice resource: https://github.com/kubkon/zig-hcs-client ~~Please don't nerd snipe me...

enhancement
zig build system

### Zig Version 0.11.0-dev.2375+771d07268 ### Zig Language Server Version 0.11.0-dev.369+55b1aeb ### Steps to Reproduce ```zig //! ExampleStruct.zig var value: u32 = 0; ``` ### Expected Behavior Like the following example:...

bug

If you don't add "source.fixAll" to "editor.codeActionsOnSave" autofix won't work in VS-Code (workaround in #1094). It would be helpful if vscode-zig did this for you, but I'm not sure how...

bug
editor:vscode
priority:low

### Zig Version 0.11.0-dev.1564+4c7f8286d ### Zig Language Server Version 0.11.0-dev.160+384f227 ### Steps to Reproduce My `build.zig` has a CMake-based dependency library which I build like this: ```zig std.fs.cwd().access(lib_out_path, .{}) catch...

bug
zig build system