Feature Request: IDE Integration with ZED Editor

Status Fixed / completed
Maintainer reply None cached
Activity 12 comments · opened Jun 1, 2025 · closed Jan 5, 2026

CC runs fine in Zed terminal and looks pretty. But legit integration with ZED would be awesome. Currently running CC IDE selector only displays 'none' or VS Code.

View original on GitHub ↗

12 Comments

robert-claypool · 1 year ago

Adding psql's \e meta command to open $EDITOR (nvim for me) would be epic.

Would that work for this Zed request too?

\e or \edit [ filename ] [ line_number ] # If filename is specified, the file is edited; after the editor exits, the file's content is copied into the current query buffer. If no filename is given, the current query buffer is copied to a temporary file which is then edited in the same fashion. Or, if the current query buffer is empty, the most recently executed query is copied to a temporary file and edited in the same fashion. https://www.postgresql.org/docs/current/app-psql.html
isomoes · 1 year ago

This is similar with Support for other IDEs (Neovim/Emacs) #1234 , we only to create one extensions, which support _WebSocket MCP protocol_, can integration to _Zed IDE_.

See also:

https://github.com/yuya373/claude-code-emacs
https://github.com/yuya373/claude-code-emacs/blob/master/docs/MCP-SETUP.md

🔌 MCP Integration Claude Code can directly interact with your Emacs environment: Buffer operations - List/read open buffers, get selected text

LSP integration - Get diagnostics, find definitions/references, describe symbols
Diff tools - Compare files, view git changes, apply patches
Real-time events - Buffer changes and diagnostics sent to Claude Code automatically

jellydn · 1 year ago

Has anyone tried this plugin yet? https://github.com/orual/zed-claude-code

I found it while searching for Claude Code for Zed IDE.

isomoes · 1 year ago
Has anyone tried this plugin yet? https://github.com/orual/zed-claude-code I found it while searching for Claude Code for Zed IDE.

NOW The claude-code-zed now supports basic functionality: (@jellydn )
✅ Working Features

  • Text Selection Sharing: Zed can send selected text context to Claude Code CLI
  • File Reference Handling: Selected code snippets and file paths are transmitted
  • WebSocket Communication: Stable connection between Zed and Claude Code CLI

🚧 Limitations

  • LSP Diagnostics: Not yet implemented. The Zed extension acts as an LSP client, but does not currently expose IDE diagnostic information (such as errors, warnings, or type hints) to Claude Code CLI.
  • One-way Communication: The main flow is from Zed → Claude Code; there are only limited capabilities for Claude Code → Zed communication.
moinulmoin · 1 year ago

also, /terminal setup missing in zed terminal, is it because claude code doesnt have the integration support for zed?

radiosilence · 1 year ago

I feel like for this to truly rock, it would mean CC is fully integrated in Zed's agent panel.

Ayo-Awe · 1 year ago

This is now possible with the new ACP update

I feel like for this to truly rock, it would mean CC is fully integrated in Zed's agent panel.
scotteveritt · 12 months ago

Refer to this comment to get started with claude code acp in zed.

agu-z · 12 months ago

Hey, Agus from Zed here!

Following our recent launch of the Agent Client Protocol, we've just published a built-in Claude Code integration. This integration is powered by our open-source adapter, which is built on top of the Claude Code SDK.

You can read more about it in the announcement post! We'd love to hear your thoughts on both the adapter and the experience in Zed.

github-actions[bot] · 8 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

hongbo-miao · 8 months ago

Thanks @agu-z ! I did try Zed’s built-in Claude Code integration, and I like its native support. ❤️

However, the tradeoff is that its features will be likely always behind Claude Code itself. For example, Zed’s built-in integration:

  • only supports a subset of Claude Code's slash commands
  • does not support resuming past conversations
  • does not support restoring the code and/or conversation to an earlier point within the current session
  • more advanced Claude Code features

So I think it still makes sense for Claude Code to support /ide for Zed. Thanks! ☺️

github-actions[bot] · 7 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.