Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Update manifest keys in debugger extension docs (#33085)

Piotr Osiewiczc9e5ff21a167
diff --git a/docs/src/extensions/debugger-extensions.md b/docs/src/extensions/debugger-extensions.md
index 3c9e291058e..ad8e2c5e297 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 2b8aaef3ec1..a523218b43c 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