- Notifications
You must be signed in to change notification settings - Fork913
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
)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.@kylecarbs---------Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com>
## 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" | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
its not a web app but a Desktop IDE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
true
I moved it ineb1ad93
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Looks good now.
2f6682a
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
continuation of#17236 (thanks@sharkymark )
adds zed as a coder_app tohttps://coder.com/docs/admin/templates/extending-templates
preview