Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
docs: coder_app method to launch zed ide via hotlink
  • Loading branch information
sharkymark committed Apr 2, 2025
commit 60f996940b3b3bc0bd787948b5f0116519bed978
13 changes: 13 additions & 0 deletions docs/user-guides/workspace-access/zed.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,19 @@ Use the Coder CLI to log in and configure SSH, then connect to your workspace wi
zed ssh://coder.workspace-name
```

1. Connect via a coder_app workspace icon and SSH hot link:

```hcl
resource "coder_app" "zed" {
agent_id = coder_agent.dev.id
slug = "slug"
display_name = "Zed"
external = true
url = "zed://ssh/coder.${data.coder_workspace.me.name}"
icon = "/icon/zed.svg"
}
```

Or use Zed's [Remote Development](https://zed.dev/docs/remote-development#setup) to connect to the workspace:

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