Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Move install rustup callup to top of developing-extensions.md (#21239)
Peter Tripp6736806924d1
diff --git a/docs/src/extensions/developing-extensions.md b/docs/src/extensions/developing-extensions.mdindex bdfab5fcde6..c404d260a0c 100644--- a/docs/src/extensions/developing-extensions.md+++ b/docs/src/extensions/developing-extensions.md@@ -9,6 +9,16 @@ Extensions can add the following capabilities to Zed:- [Slash Commands](./slash-commands.md)- [Context Servers](./context-servers.md)+## Developing an Extension Locally++Before starting to develop an extension for Zed, be sure to [install Rust via rustup](https://www.rust-lang.org/tools/install).++When developing an extension, you can use it in Zed without needing to publish it by installing it as a _dev extension_.++From the extensions page, click the `Install Dev Extension` button and select the directory containing your extension.++If you already have a published extension with the same name installed, your dev extension will override it.+## Directory Structure of a Zed ExtensionA Zed extension is a Git repository that contains an `extension.toml`. This file must contain some@@ -75,16 +85,6 @@ impl zed::Extension for MyExtension {zed::register_extension!(MyExtension);```-## Developing an Extension Locally--Before starting to develop an extension for Zed, be sure to [install Rust via rustup](https://www.rust-lang.org/tools/install).--When developing an extension, you can use it in Zed without needing to publish it by installing it as a _dev extension_.--From the extensions page, click the `Install Dev Extension` button and select the directory containing your extension.--If you already have a published extension with the same name installed, your dev extension will override it.-## Publishing your extensionTo publish an extension, open a PR to [the `zed-industries/extensions` repo](https://github.com/zed-industries/extensions).