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

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

Merged

Conversation

sharkymark
Copy link
Contributor

I want to open the locally installed Zed IDE as an icon from a Coder workspace.

To do this, I added acoder_app resource and aurl with Zed's remote development hotlink approach.

resource"coder_app""zed" {agent_id=coder_agent.dev.idslug="slug"display_name="Zed"external=trueurl="zed://ssh/coder.${data.coder_workspace.me.name}"icon="/icon/zed.svg"}

Mycommunity Docker template lets the user choose VS Code Desktop, code-server or Zed.

image

image

@kylecarbs

kylecarbs reacted with heart emoji
@cdr-botcdr-botbot added the communityPull Requests and issues created by the community. labelApr 2, 2025
@EdwardAngertEdwardAngert added the docsArea: coder.com/docs labelApr 3, 2025
@EdwardAngertEdwardAngert self-requested a reviewApril 3, 2025 00:56
@EdwardAngert
Copy link
Contributor

thanks@sharkymark !

kylecarbs and sharkymark reacted with eyes emoji

@EdwardAngertEdwardAngert changed the titledocs: Zed as coder_app to open from workspace with a hotlinkdocs: zed as coder_app to open from workspace with a hotlinkApr 3, 2025
@EdwardAngertEdwardAngert changed the titledocs: zed as coder_app to open from workspace with a hotlinkdocs: add zed as coder_app to open from workspace with a hotlinkApr 3, 2025
sharkymarkand others added2 commitsApril 5, 2025 07:24
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com>
Comment on lines +65 to +76
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"
}
```
Copy link
Member

@matifalimatifaliApr 6, 2025
edited
Loading

Choose a reason for hiding this comment

The 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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

good call,@matifali - I'll take care of that

@EdwardAngertEdwardAngert changed the base branch frommain to17236-zed-appApril 7, 2025 13:42
@EdwardAngertEdwardAngert merged commit3335129 intocoder:17236-zed-appApr 7, 2025
5 of 6 checks passed
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 7, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@matifalimatifalimatifali left review comments

@EdwardAngertEdwardAngertEdwardAngert left review comments

Assignees

@sharkymarksharkymark

Labels
communityPull Requests and issues created by the community.docsArea: coder.com/docs
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@sharkymark@EdwardAngert@matifali

[8]ページ先頭

©2009-2025 Movatter.jp