Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3335129

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 Coderworkspace.To do this, I added a `coder_app` resource and a `url` with Zed's remotedevelopment 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 Dockertemplate](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 parent743d308 commit3335129

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)

[8]ページ先頭

©2009-2025 Movatter.jp