Skip to content

Conversation

blink-so[bot]
Copy link
Contributor

@blink-so blink-so bot commented Jul 3, 2025

Adds a new official module for Zed IDE integration with Coder workspaces.

This module provides a one-click button to open workspaces in Zed IDE using the zed:// protocol, based on the existing module code from coder/coder/dogfood/coder/zed.

Features

  • Configurable folder path for opening specific directories
  • Customizable display name and order in the UI
  • Support for app grouping
  • External app integration using Zed's SSH protocol

Testing

  • Module structure follows existing registry conventions
  • Terraform validation passes
  • Includes comprehensive test suite

The module is ready for use and follows the same patterns as other IDE modules in the registry.

blink-so bot and others added 2 commits July 3, 2025 19:59
Adds a new official module for Zed IDE integration with Coder workspaces.
The module provides a one-click button to open workspaces in Zed IDE
using the zed:// protocol.

Features:
- Configurable folder path
- Customizable display name and order
- Support for app grouping
- External app integration

Co-authored-by: matifali <[email protected]>
- Add agent_name variable to match original dogfood module
- Fix URL construction to avoid double slashes when folder is provided
- Update hostname logic to use agent_name when provided
- Add test for agent_name functionality
- Update README with agent_name example

Fixes the failing test: zed > adds folder

Co-authored-by: matifali <[email protected]>
- Add zed.svg logo to .icons directory from coder/coder repository
- Keep owner_name in locals and use it in URL construction as requested
- Fix URL construction to properly handle folder paths without double slashes
- Update tests to match the correct URL format with owner_name

Addresses PR feedback and should fix all failing tests.

Co-authored-by: matifali <[email protected]>
blink-so bot and others added 2 commits July 3, 2025 20:13
- Use owner_name in hostname when agent_name is provided: agent.workspace.owner.coder
- Keep simple format when no agent_name: workspace.coder
- Update tests to match the corrected hostname formats

Implements the suggestion from PR review comment.

Co-authored-by: matifali <[email protected]>
Add note that Zed needs either Coder CLI with config-ssh or Coder Desktop
to work properly with SSH connections.

Co-authored-by: matifali <[email protected]>
@matifali matifali requested review from DevelopmentCats and bpmct July 3, 2025 20:22
- Update default display_name in main.tf
- Update variable descriptions to use 'Zed Editor'
- Update output description
- Update README frontmatter and title
- Update all references in README content

Makes the naming consistent throughout the module.

Co-authored-by: matifali <[email protected]>
- Change display_name from 'Zed Editor' to 'Zed' everywhere
- Update main.tf default display_name and descriptions
- Update README frontmatter, title, and content
- Remove trailing period from important note as requested

Addresses PR feedback for simpler, cleaner naming.

Co-authored-by: matifali <[email protected]>
Remove trailing periods from all variable and output description fields
to follow consistent formatting conventions.

Co-authored-by: matifali <[email protected]>
@matifali matifali enabled auto-merge (squash) July 3, 2025 20:42
@matifali matifali merged commit eb27843 into main Jul 3, 2025
4 checks passed
@matifali matifali deleted the add-zed-ide-module branch July 3, 2025 20:42
@matifali matifali linked an issue Jul 9, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Zed Editor

2 participants