From c9e5ff21a1678e5b9b0309d9937b490d6303daf0 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Fri, 20 Jun 2025 15:25:53 +0200 Subject: [PATCH] docs: Update manifest keys in debugger extension docs (#33085) This is silly and caused at least one of our users a lot of confusion. Closes #33040 Release Notes: - N/A --- docs/src/extensions/debugger-extensions.md | 4 ++-- docs/src/extensions/developing-extensions.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/src/extensions/debugger-extensions.md b/docs/src/extensions/debugger-extensions.md index 3c9e291058..ad8e2c5e29 100644 --- a/docs/src/extensions/debugger-extensions.md +++ b/docs/src/extensions/debugger-extensions.md @@ -8,7 +8,7 @@ A given extension may provide one or more DAP servers. Each DAP server must be registered in the `extension.toml`: ```toml -[debug-adapters.my-debug-adapter] +[debug_adapters.my-debug-adapter] # Optional relative path to the JSON schema for the debug adapter configuration schema. Defaults to `debug_adapter_schemas/$DEBUG_ADAPTER_NAME_ID.json`. # Note that while this field is optional, a schema is mandatory. schema_path = "relative/path/to/schema.json" @@ -72,7 +72,7 @@ Locators can (but don't have to) be agnostic to the debug adapter they are used Your extension can define one or more debug locators. Each debug locator must be registered in the `extension.toml`: ```toml -[debug-locators.my-debug-locator] +[debug_locators.my-debug-locator] ``` Locators have two components. diff --git a/docs/src/extensions/developing-extensions.md b/docs/src/extensions/developing-extensions.md index 2b8aaef3ec..a523218b43 100644 --- a/docs/src/extensions/developing-extensions.md +++ b/docs/src/extensions/developing-extensions.md @@ -89,6 +89,8 @@ impl zed::Extension for MyExtension { zed::register_extension!(MyExtension); ``` +> `stdout`/`stderr` is forwarded directly to the Zed process. In order to see `println!`/`dbg!` output from your extension, you can start Zed in your terminal with a `--foreground` flag. + ## Forking and cloning the repo 1. Fork the repo