Back to catalog

claude-code-zed

by isomoes

Pending

Zed extension for Claude Code CLI integration

233stars
20forks
Rust
Added 1/30/2026
CLI Toolsclaude-codezedzed-extension
Installation
# Add to your Claude Code skills
git clone https://github.com/isomoes/claude-code-zed
README.md

⚠️ ARCHIVED: Claude Code Zed Integration

This repository has been archived and is no longer actively maintained.

We now focus on VSCode integration for Claude Code CLI. If you're looking for Claude Code editor integration, we recommend using VSCode instead of Zed.

Thank you to everyone who starred this repository and supported our work! 🙏

If you want to continue development of Zed integration, feel free to fork this repository and build upon this codebase.


Claude Code Zed Integration

A two-part system that integrates Claude Code CLI with Zed editor for AI-assisted coding.

File Selection Demo

Current Integration Status

✅ 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: Currently NOT implemented - Zed extension works as LSP client but doesn't expose IDE diagnostic information (errors, warnings, type hints) to Claude Code CLI
  • One-way Communication: Primary flow is Zed → Claude Code; limited Claude Code → Zed capabilities

Installation

Prerequisites

  • Zed editor
  • Claude Code CLI

Setup

  1. Clone the repository:

    git clone https://github.com/jiahaoxiang2000/claude-code-zed.git
    
  2. Install the Zed extension (Development Mode):

    • Open Zed editor
    • Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Linux/Windows) to open the command palette
    • Type "zed: install dev extension" and select it
    • Navigate to and select the claude-code-extension folder in your cloned repository
    • The extension will be installed and activated automatically
  3. The claude-code-server is automatically downloaded:

    • The extension will automatically download the appropriate claude-code-server binary from GitHub releases
    • No manual build or installation of the server is required
    • The server binary is cached in the extension's working directory

Supported Platforms

  • macOS: Intel (x86_64) and Apple Silicon (aarch64)
  • Linux: x86_64
  • Windows: Not currently supported

Language Server Activation

The Claude Code extension runs as a Language Server Protocol (LSP) server and automatically activates when you open files with the following extensions:

  • Rust (.rs)
  • JavaScript (.js)
  • TypeScript (.ts, .tsx)
  • Python (.py)
  • Markdown (.md)

Adding Support for Other File Types

To enable Claude Code integration for additional file types, edit the claude-code-extension/extension.toml file:

[language_servers.claude-code-server]
name = "Claude Code Server"
languages = ["Rust", "JavaScript", "TypeScript", "Python", "Markdown", "Go", "Java"]

[language_servers.claude-code-server.language_ids]
"Rust" = "rust"
"JavaScript" =...