Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Document config completion for Deno (#38993)
Bedis Nbibae1e9f78dc36a
diff --git a/docs/src/languages/deno.md b/docs/src/languages/deno.mdindex 12d36b9ef85..c90450831bf 100644--- a/docs/src/languages/deno.md+++ b/docs/src/languages/deno.md@@ -6,7 +6,7 @@ Deno support is available through the [Deno extension](https://github.com/zed-ex## Deno Configuration-To use the Deno Language Server with TypeScript and TSX files, you will likely wish to disable the default language servers and enable deno by adding the following to your settings.json:+To use the Deno Language Server with TypeScript and TSX files, you will likely wish to disable the default language servers and enable deno by adding the following to your `settings.json`:```json{@@ -57,6 +57,35 @@ See [Configuring supported languages](../configuring-languages.md) in the Zed doTBD: Deno TypeScript REPL instructions [docs/repl#typescript-deno](../repl.md#typescript-deno)-->+## Configuration completion++To get completions for `deno.json` or `package.json` you can add the following to your `settings.json`: (More info here https://zed.dev/docs/languages/json)++```json+"lsp": {+ "json-language-server": {+ "settings": {+ "json": {+ "schemas": [+ {+ "fileMatch": [+ "deno.json"+ ],+ "url": "https://raw.githubusercontent.com/denoland/deno/refs/heads/main/cli/schemas/config-file.v1.json"+ },+ {+ "fileMatch": [+ "package.json"+ ],+ "url": "http://json.schemastore.org/package"+ }+ ]+ }+ }+ }+ }+```+## DAP supportTo debug deno programs, add this to `.zed/debug.json`