Skip to content

docs: add zed code_app to extending-templates doc #17281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 7, 2025
Merged
Show file tree
Hide file tree
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
Prev Previous commit
Next Next commit
move zed to web-ides doc
  • Loading branch information
EdwardAngert committed Apr 7, 2025
commit e545c44f63c0151a500ede1e9dc6ae907fae677c
15 changes: 15 additions & 0 deletions docs/admin/templates/extending-templates/web-ides.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,21 @@ module "filebrowser" {

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

## Zed

Configure your agent and `coder_app` like to include a Zed hotlink:

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

## SSH Fallback

If you prefer to run web IDEs in localhost, you can port forward using
Expand Down
13 changes: 0 additions & 13 deletions docs/user-guides/workspace-access/zed.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,6 @@ 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 hotlink:

```hcl
resource "coder_app" "zed" {
agent_id = coder_agent.main.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