# Anyone using Zed for Zig?

**URL:** <https://ziggit.dev/t/anyone-using-zed-for-zig/17233>\
**Category:** Help\
**Tags:** language\
**Created:** [August 15, 2026, 6:25am UTC](https://ziggit.dev/t/anyone-using-zed-for-zig/17233 "2026-08-15T06:25:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![chango](https://ziggit.dev/user_avatar/ziggit.dev/chango/32/9829_2.png) [@chango](https://ziggit.dev/u/chango)\
**Post date:** [August 15, 2026, 6:25am UTC](https://ziggit.dev/t/anyone-using-zed-for-zig/17233/1 "2026-08-15T06:25:53Z")

</div>

I used to use VSCode with the extension that showed inferred types inline, but VSCode is kinda heavy on my laptop. Switched to Zed, installed the extension, but it doesn’t display inferred types like VSCode did – makes it harder to follow the code. Any advice? Is this just not supported yet?

---

<div class="post-metadata">

**Author:** ![squeek502](https://ziggit.dev/user_avatar/ziggit.dev/squeek502/32/409_2.png) [@squeek502](https://ziggit.dev/u/squeek502)\
**Post date:** [August 15, 2026, 7:18am UTC](https://ziggit.dev/t/anyone-using-zed-for-zig/17233/2 "2026-08-15T07:18:32Z")

</div>

Not familiar with VSCode or Zed, but my assumption would be that what you’re talking about came from [zls](https://github.com/zigtools/zls), not VSCode itself, so you’d need to [install `zls`](https://zigtools.org/zls/install/) for Zed.

---

<div class="post-metadata">

**Author:** ![dimdin](https://ziggit.dev/user_avatar/ziggit.dev/dimdin/32/1457_2.png) [@dimdin](https://ziggit.dev/u/dimdin)\
**Post date:** [August 15, 2026, 7:50am UTC](https://ziggit.dev/t/anyone-using-zed-for-zig/17233/3 "2026-08-15T07:50:37Z")

</div>

[zls installation documentation for Zed](https://zigtools.org/zls/editors/zed/) might help.

---

<div class="post-metadata">

**Author:** ![lukeflo](https://ziggit.dev/user_avatar/ziggit.dev/lukeflo/32/7514_2.png) [@lukeflo](https://ziggit.dev/u/lukeflo)\
**Post date:** [August 15, 2026, 7:54am UTC](https://ziggit.dev/t/anyone-using-zed-for-zig/17233/4 "2026-08-15T07:54:03Z")

</div>

If GUI editors are heavy on your laptop (which is not unlikely with older hardware), did you try terminal based editors? They’re much more lightweight in general (with or without LSP).

---

<div class="post-metadata">

**Author:** ![lalinsky](https://ziggit.dev/user_avatar/ziggit.dev/lalinsky/32/3720_2.png) [@lalinsky](https://ziggit.dev/u/lalinsky)\
**Post date:** [August 15, 2026, 8:29am UTC](https://ziggit.dev/t/anyone-using-zed-for-zig/17233/5 "2026-08-15T08:29:23Z")

</div>

I personally use zvm to install both zig and zls and zed is able to detect it correctly that way, with all my manual installations, i needed to give exact paths which obviously broke as i switched versions.

---

<div class="post-metadata">

**Author:** ![pcjx](https://ziggit.dev/letter_avatar_proxy/v4/letter/p/96bed5/32.png) [@pcjx](https://ziggit.dev/u/pcjx)\
**Post date:** [August 15, 2026, 8:42am UTC](https://ziggit.dev/t/anyone-using-zed-for-zig/17233/6 "2026-08-15T08:42:18Z")

</div>

I’m using Zed for Zig and everything works mostly fine.  
The ZLS config is pretty simple (zvm makes it easy to move between versions if you need) and autocomplete and inlay hints work as expected.

```json
{
    "lsp": {
        "zls": {
            "binary": {
                "path": "/Users/kamil/.zvm/bin/zls",
            },
            "initialization_options": {
                "enable_build_on_save": true,
                "build_on_save_step": "check",
            },
        },
    }
}

```

and the debugger is also very easy to setup and works pretty well:

 ![Zrzut ekranu 2026-08-15 o 10.38.50](https://ziggit.dev/uploads/default/original/2X/6/62311b8537367c220c90e7a55901694c4a9d511a.png)  
This is my config for running unit tests under debugger:

```json
// in .zed/debug.json
[
    {
      "label": "Run unit tests",
      "adapter": "CodeLLDB",
      "program": "zig-out/bin/test", // need to install a test artifact in build.zig
      "request": "launch",
      "build": {
        "command": "zig",
        "args": ["build"]
      }
    }
]

```

This makes it one-button to compile and run the tests, with breakpoint support out of the box.  
This is LLVM backend though, I’m running my stuff over a remote connection to a Pi5.

---

<div class="post-metadata">

**Author:** ![gavin-mcdiarmid](https://ziggit.dev/user_avatar/ziggit.dev/gavin-mcdiarmid/32/7818_2.png) [@gavin-mcdiarmid](https://ziggit.dev/u/gavin-mcdiarmid)\
**Post date:** [August 15, 2026, 8:43am UTC](https://ziggit.dev/t/anyone-using-zed-for-zig/17233/7 "2026-08-15T08:43:53Z")

</div>

Check out the page on inlay hints:  
[Zed Docs: Inlay Hints](https://zed.dev/docs/configuring-languages#inlay-hints)

> Inlay hints provide additional information inline in your code, such as parameter names or inferred types. Configure inlay hints in your `settings.json`:
> 
> ```zig
> "inlay_hints": {
> "enabled": true,
> "show_type_hints": true,
> "show_parameter_hints": true,
> "show_other_hints": true
> }
> 
> ```
> 
> For language-specific inlay hint settings, refer to the documentation for each language

If that was already enabled, then I’d compare the extensions configuration of zls path to your systems zls path

---

<div class="post-metadata">

**Author:** ![chango](https://ziggit.dev/user_avatar/ziggit.dev/chango/32/9829_2.png) [@chango](https://ziggit.dev/u/chango)\
**Post date:** [August 15, 2026, 8:59am UTC](https://ziggit.dev/t/anyone-using-zed-for-zig/17233/8 "2026-08-15T08:59:10Z")

</div>

Thanks, I figured it out. I initially thought that feature was provided by the extension…
