Skip to content

Commit 60f9969

Browse files
committed
docs: coder_app method to launch zed ide via hotlink
1 parent e8b7ce8 commit 60f9969

File tree

1 file changed

+13
-0
lines changed
  • docs/user-guides/workspace-access

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,19 @@ 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 hot link:
66+
67+
```hcl
68+
resource "coder_app" "zed" {
69+
agent_id = coder_agent.dev.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+
6578
Or use Zed's [Remote Development](https://zed.dev/docs/remote-development#setup) to connect to the workspace:
6679

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

0 commit comments

Comments
 (0)