extensions
extensions copied to clipboard
Local extension doesn't load
I'm trying to create an extension, and I'm currently testing it locally. However Zed doesn't load the extension, and when opening a file like scratch.u
the language
stays on Unknown
, while the Unison
language is available in the picker. Choosing it doesn't do anything however.
./target/release/Zed
[2024-03-18T11:08:48-05:00 ERROR util] crates/zed/src/zed.rs:615: EOF while parsing a value at line 1 column 0
[2024-03-18T11:08:48-05:00 ERROR util] crates/zed/src/main.rs:692: No such file or directory (os error 2)
Reproduction
Here is my branch, with the wasm
file included:
https://github.com/zetashift/unison-zed/tree/wasm-blob
- It can be cloned into
~/.config/zed/extensions/installed
Additional info
Zed version: v0.127.0-pre OS: Linux, OpenSUSE.
@zetashift I'm having the same issue I'm not sure what causes it but any manually installed extensions don't function at all https://github.com/versecafe/zed-groovy/tree/wasm-blob
@zetashift I'm having the same issue I'm not sure what causes it but any manually installed extensions don't function at all https://github.com/versecafe/zed-groovy/tree/wasm-blob
Are you using Mac or Linux (or Windows?). I wonder if this is a platform issue, or if we're configuring Zed wrong or something :S.
@zetashift MacOS Sonoma 14.4 and I tried reinstalling zed and running it in local development in order to get the errors, I found something interesting, it tries to load the extension but always fails on the schema files even if they're copied over from a functional extension, it always throws a syntax error on the first item of the highlights.scm
file as I assume it is the first scm
file parsed.
Trying to test an extension and having the same issue