Skip to content

Snippets don't work for me at all #210

@alekseyg

Description

@alekseyg

I installed the extension via Zed's extension manager, but the extension.toml looks different from the one in the repo. Here the snippets are in the extension's root directory and referenced simply as snippets = "snippets.json", but in the installed extension (same version) it appears to have a hard-coded reference to a file in a Linux home directory, and the file is not included in the extension's directory.

snippets = "/home/runner/work/extensions/extensions/extensions/ruby/snippets.json"

This is odd since I'm using a Mac and the directory doesn't exist on my system. I checked Zed's log and it is indeed failing to load the file.

2025-11-26T18:46:38-05:00 ERROR [extension_host] Cannot load snippets: Loading snippets from "/home/runner/work/extensions/extensions/extensions/ruby/snippets.json": No such file or directory (os error 2)

I tried uninstalling and reinstalling the extension but it looks the same. Any idea why it's different between the repo and Zed's extension manager?

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamZed issue (not extension)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions