Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Update dev-containers.md (#57901)
KyleBarton92b0efeee0b6
diff --git a/docs/src/dev-containers.md b/docs/src/dev-containers.mdindex 6d19e8e529d..3b0874812bf 100644--- a/docs/src/dev-containers.md+++ b/docs/src/dev-containers.md@@ -41,12 +41,33 @@ If you modify `.devcontainer/devcontainer.json`, Zed does not currently rebuildOnce connected, Zed operates inside the container environment for tasks, terminals, and language servers.Files are linked from your workspace into the container according to the dev container specification.+## Extensions++You can specify extensions in `.devcontainer/devcontainer.json` under the "customizations" field like so:++```json+{+ ...+ "customizations": {+ "zed": {+ "extensions": ["vue", "ruby"],+ },+ "vscode": {+ ...+ },+ "codespaces": {+ ...+ },+ }+}+```++Note that extensions load for the Zed session, so these extensions will exist on your local Zed instances as well.+## Known Limitations> **Note:** This feature is still in development.-- **Extensions:** Zed does not yet manage extensions separately for container environments. The host's extensions are used as-is.-- **Port forwarding:** Only the `appPort` field is supported. `forwardPorts` and other advanced port-forwarding features are not implemented.- **Configuration changes:** Updates to `devcontainer.json` do not trigger automatic rebuilds or reloads; containers must be manually restarted.## See also