Extensions in Zed, added earlier this year, enable additional languages, themes, snippets, and commands. These extensions are written in Rust, compiled into WebAssembly (Wasm) modules using the WebAssembly Component Model, and leverage Tree-sitter for parsing within Wasm. Extensions are managed via a repository and compiled using a CLI tool. Upon installation, extensions are downloaded as pre-compiled Wasm archives and integrated into Zed through a Wasm runtime. The effort showcases a harmonious integration of Rust and Wasm technologies, creating a powerful extension ecosystem.
Table of contents
The Question self.__wrap_n!=1&&self.__wrap_b(":R31n7rrrqbt6ja:",1)Installing Extensions self.__wrap_n!=1&&self.__wrap_b(":R6hn7rrrqbt6ja:",1)Compiling an extension self.__wrap_n!=1&&self.__wrap_b(":Rn1n7rrrqbt6ja:",1)The extension_api crate self.__wrap_n!=1&&self.__wrap_b(":Rrhn7rrrqbt6ja:",1)Running Wasm in Zed self.__wrap_n!=1&&self.__wrap_b(":R1ghn7rrrqbt6ja:",1)Right place, right time self.__wrap_n!=1&&self.__wrap_b(":R20hn7rrrqbt6ja:",1)Shout-out to the hackers self.__wrap_n!=1&&self.__wrap_b(":R23hn7rrrqbt6ja:",1)1 Comment
Sort: