Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Add section on updating extensions (#17000)
Marshall Bowers7bf8d733d66a
diff --git a/docs/src/extensions/developing-extensions.md b/docs/src/extensions/developing-extensions.mdindex a7361b17492..c1330a4c49e 100644--- a/docs/src/extensions/developing-extensions.md+++ b/docs/src/extensions/developing-extensions.md@@ -84,7 +84,7 @@ If you already have a published extension with the same name installed, your dev## Publishing your extension-To publish an extension, open a PR to [this repo](https://github.com/zed-industries/extensions).+To publish an extension, open a PR to [the `zed-industries/extensions` repo](https://github.com/zed-industries/extensions).In your PR, do the following:@@ -100,3 +100,17 @@ version = "0.0.1"3. Run `pnpm sort-extensions` to ensure `extensions.toml` and `.gitmodules` are sortedOnce your PR is merged, the extension will be packaged and published to the Zed extension registry.++> Extension IDs and names should not contain `zed` or `Zed`, since they are all Zed extensions.++## Updating an extension++To update an extension, open a PR to [the `zed-industries/extensions` repo](https://github.com/zed-industries/extensions).++In your PR do the following:++1. Update the extension's submodule to the commit of the new version.+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.++If you'd like to automate this process, there is a [community GitHub Action](https://github.com/huacnlee/zed-extension-action) you can use.