Skip to content

Commit e545c44

Browse files
committed
move zed to web-ides doc
1 parent 3335129 commit e545c44

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

docs/admin/templates/extending-templates/web-ides.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,21 @@ module "filebrowser" {
368368

369369
![File Browser](../../../images/file-browser.png)
370370

371+
## Zed
372+
373+
Configure your agent and `coder_app` like to include a Zed hotlink:
374+
375+
```hcl
376+
resource "coder_app" "zed" {
377+
agent_id = coder_agent.main.id
378+
slug = "slug"
379+
display_name = "Zed"
380+
external = true
381+
url = "zed://ssh/coder.${data.coder_workspace.me.name}"
382+
icon = "/icon/zed.svg"
383+
}
384+
```
385+
371386
## SSH Fallback
372387

373388
If you prefer to run web IDEs in localhost, you can port forward using

docs/user-guides/workspace-access/zed.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,6 @@ Use the Coder CLI to log in and configure SSH, then connect to your workspace wi
6262
zed ssh://coder.workspace-name
6363
```
6464

65-
1. Connect via a coder_app workspace icon and SSH hotlink:
66-
67-
```hcl
68-
resource "coder_app" "zed" {
69-
agent_id = coder_agent.main.id
70-
slug = "slug"
71-
display_name = "Zed"
72-
external = true
73-
url = "zed://ssh/coder.${data.coder_workspace.me.name}"
74-
icon = "/icon/zed.svg"
75-
}
76-
```
77-
7865
Or use Zed's [Remote Development](https://zed.dev/docs/remote-development#setup) to connect to the workspace:
7966

8067
![Zed open remote project](../../images/zed/zed-ssh-open-remote.png)

0 commit comments

Comments
 (0)