Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Improve documentation for updating an extension (#44475)
Finn Evers660234fed258
diff --git a/docs/src/extensions/developing-extensions.md b/docs/src/extensions/developing-extensions.mdindex 539cbe3d304..dc8a6932917 100644--- a/docs/src/extensions/developing-extensions.md+++ b/docs/src/extensions/developing-extensions.md@@ -109,18 +109,6 @@ git submodule initgit submodule update```-## Update Your Extension--When developing/updating your extension, you will likely need to update its content from its submodule in the extensions repository.-To quickly fetch the latest code for only specific extension (and avoid updating all others), use the specific path:--```sh-# From the root of the repository:-git submodule update --remote extensions/your-extension-name-```--> Note: If you need to update all submodules (e.g., if multiple extensions have changed, or for a full clean build), you can run `git submodule update` without a path, but this will take longer.-## Extension License RequirementsAs of October 1st, 2025, extension repositories must include a license.@@ -177,7 +165,15 @@ To update an extension, open a PR to [the `zed-industries/extensions` repo](httpIn your PR do the following:-1. Update the extension's submodule to the commit of the new version.+1. Update the extension's submodule to the commit of the new version. For this, you can run++```sh+# From the root of the repository:+git submodule update --remote extensions/your-extension-name+```++to update your extension to the latest commit available in your remote repository.+2. Update the `version` field for the extension in `extensions.toml`- Make sure the `version` matches the one set in `extension.toml` at the particular commit.