Skip to content

Commit 3335129

Browse files
docs: add zed as coder_app to open from workspace with a hotlink (#17236)
I want to open the locally installed Zed IDE as an icon from a Coder workspace. To do this, I added a `coder_app` resource and a `url` with Zed's remote development hotlink approach. ```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" } ``` My [community Docker template](https://github.com/sharkymark/v2-templates/blob/main/src/docker-code-server/main.tf) lets the user choose VS Code Desktop, code-server or Zed. ![image](https://github.com/user-attachments/assets/cd0d4d50-fb7d-4feb-9a9b-5ccecc131387) ![image](https://github.com/user-attachments/assets/dfd994e8-52e1-4417-a5aa-3041f6dbf072) @kylecarbs --------- Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com>
1 parent 743d308 commit 3335129

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 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+
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy