-
aboba
cool editor
-
koru
aboba)
-
koru
@krig, any ETA for next release?
-
krig
@koru My main concern now is that handling permissions for the extensions is annoying, more annoying than 3.3. I have been wanting to redo that somehow to something less awkward but haven’t gotten it in good shape. But maybe it’s worth making a release despite that..
-
mort
@krig I know you have grand ideas for an extension system. However have you considered starting very simple, and basically just copy the existing extension API but in a slightly less hard-to-integrate language than wasm bytecode?
-
mort
It would break all existing Zed extensions. But I'm thinking those will definitely break at some point anyway. By keeping the API similar, it should be *relatively* simple to port existing extensions. We could have a Gram extension repository full of ported extensions (aka LSP adapters)
-
mort
I imagine a system where an extension is a directory similar to today's extension, with an extension.toml file and themes/, language/ and snippets/ folders that works as today, but with a src/extension.rn file or something where that extension.rn file can expose functions like language_server_command(), language_server_initialization_options(), etc like the current zed_extension_api::Extension trait but implemented using rune (https://rune-rs.github.io/), a nice little embeddable Rust-like scripting language
-
krig
I’ve looked at Rune before, among others. But yeah it’s not that I have grand plans necessarily, just that any approach I consider grows bigger and bigger.. and there are so many other things to work on
-
krig
but yeah I think that sounds like a good approach. We can start with something like that and then improve the API from there. It’s easier with a scripting language to maintain backwards compatibility too. And can keep supporting zed extensions in parallel for a while.
-
mort
Yeah, no need to rip out the wasm thing immediately. Would just feel good to know that there's a viable path there