- Notifications
You must be signed in to change notification settings - Fork1k
docs: add zed as coder_app to open from workspace with a hotlink#17236
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.
Changes fromall commits
60f9969
d577fc4
495d678
70d11a1
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 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" | ||
} | ||
``` | ||
Comment on lines +65 to +76 Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. As this is terraform code, it should go somewhere into thehttps://coder.com/docs/admin/templates/extending-templates section. User guides are for developers with member roles who may not have template admin roles to actually add something to a template. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. good call,@matifali - I'll take care of that | ||
Or use Zed's [Remote Development](https://zed.dev/docs/remote-development#setup) to connect to the workspace: | ||
 | ||