Beyond the Code: What I Learned Contributing to Zed’s Open…
    Neura MarketNeura Market/Stable Diffusion
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityStable DiffusionStable Diffusion
    DeepSeekDeepSeekCoPilotCoPilotMidjourneyMidjourney
    View All Directories
    OverviewPromptsBlogVideosGuidesCoursesCommunityModelsLoRAsComfyUI WorkflowsTrending
    Stable DiffusionBlogBeyond the Code: What I Learned Contributing to Zed’s Open Source
    Back to Blog
    Beyond the Code: What I Learned Contributing to Zed’s Open Source
    opensource

    Beyond the Code: What I Learned Contributing to Zed’s Open Source

    Stefan Cosma May 29, 2026
    0 views

    If you’ve been following my work, you know I’m a bit of a stickler for my development environment....


    title: Beyond the Code: What I Learned Contributing to Zed’s Open Source published: true date: 2026-04-02 00:00:00 UTC tags: opensource,zed canonical_url: https://stefancosma.xyz/2026/04/02/beyond-the-code-what-i-learned-contributing-to-zeds-open-source

    If you’ve been following my work, you know I’m a bit of a stickler for my development environment. Whether it's automating Plex with Google Scripts or fine-tuning my terminal, I firmly believe the tools we use should work for us, not the other way around.

    Recently, I’ve been spending a lot of time in Zed. If you haven't tried it yet, it’s a high-performance code editor built from the ground up in Rust. It feels incredibly snappy because it renders everything on the GPU at a synchronized 120 FPS—basically, it handles your code with the same fluid precision a modern video game handles graphics.

    But moving to a new editor often means leaving behind the little things that make a workspace feel like "home." Instead of waiting for someone else to build what I needed, I decided to scratch my own itch. I’ve recently released two extensions: Relaxed Zed Theme and Loupe Zed.

    Why Open Source Matters (Beyond the Code)

    Contributing to open source is often framed as "giving back," which is true, but it’s also one of the best ways to grow as a developer. When I started working on these extensions, I wasn't just writing JSON or Rust; I was learning the internals of how a modern, high-performance editor manages buffers, themes, and sandboxing.

    When you submit a Pull Request to a project like Zed, your code is vetted for performance and security. This kind of peer review is a professional "cheat code." Plus, there is a certain psychological reward in knowing that a tool you created to solve your own eye strain is now helping thousands of other developers stay focused.

    Porting a Classic: The Relaxed Zed Theme

    My first project was porting the Relaxed theme. Originally created by Michael Kühnel for VS Code, it uses muted, warm tones on a deep grey background to reduce eye strain during long sessions.

    The technical challenge here was mapping the original TextMate-based scopes to Zed’s theme schema. Zed uses Tree-sitter for parsing, which is much more precise than the old regex-based systems we're used to in other editors.

    Every Zed extension starts with an extension.toml. Here is the manifest for the theme:

    id = "relaxed-theme"
    name = "Relaxed"
    version = "0.1.0"
    schema_version = 1
    authors = ["Stefan Cosma <[email protected]>"]
    description = "A port of the Relaxed VS Code theme. Dark theme with easy on the eyes colors."
    repository = "https://github.com/stefanbc/relaxed-theme-zed"
    
    

    The heart of the theme is the color palette. I spent a lot of time ensuring the hex codes matched the "relaxed" feel.

    Precision Tooling: Loupe Zed

    After the theme, I wanted something more functional. Loupe is a utility that shows the latest available version of your dependencies as inlay hints. It currently supports package.json (npm), composer.json (Packagist), and pyproject.toml (PyPI/Poetry).

    Performance & Security

    Zed extensions are sandboxed using WebAssembly (WASM). This keeps Loupe isolated and incredibly fast. To keep it from being a resource hog, I implemented a TTL cache:

    • Auto-refresh: Versions are cached for 5 minutes.
    • Manual override: Just save the file to force an immediate refresh.

    Built for the Community

    I kept the architecture modular. If you want to add a new registry (like Crates.io), you just implement the RegistryHandler interface. You don't need to touch the core LSP wiring.

    Note: Inlay hints are off by default. Enable them in your settings (cmd+,):

    { 
      "inlay_hints": { 
        "enabled": true 
      }
    }
    
    

    Just Start Somewhere

    If you’re on the fence about contributing, my advice is to start with something visual. A theme or a simple set of snippets is a great way to learn the packaging and distribution process without getting bogged down in complex logic.

    Open source isn't just for the "elite" developers; it’s for anyone who wants their tools to be 1% better tomorrow than they are today.

    Check them out on GitHub:

    • Relaxed Zed Theme - Zed Store
    • Loupe Zed

    If you have any questions or ideas on how to improve these, let me know. You can reach me on most social media channels!

    Tags

    opensourcezed

    Comments

    More Blog

    View all
    Context bankruptcy: The case for strategic forgetting for AI Agentsai

    Context bankruptcy: The case for strategic forgetting for AI Agents

    Most of us have seen a coding agent fail to complete a task we know it can do. We just don't...

    J
    James O'Reilly
    Parallel Compliance Engine: Drive-to-Sheets Multi-Agent Orchestrationgooglecloud

    Parallel Compliance Engine: Drive-to-Sheets Multi-Agent Orchestration

    When building Generative AI applications, developers often encounter a massive bottleneck: sequential...

    A
    Aryan Irani
    Is It Ethical to Post and Ask About Circuits on Dev.to?discuss

    Is It Ethical to Post and Ask About Circuits on Dev.to?

    I’ve been thinking about sharing some electronic circuit posts on Dev.to — small circuits, DIY...

    C
    codebunny20
    The One-Click Exporter: AI Studio Antigravity, Probed to Its Limitsagents

    The One-Click Exporter: AI Studio Antigravity, Probed to Its Limits

    What nobody tells you about exporting your multi-agent prototype to a local workspace. Every...

    L
    leslysandra
    Guarding the till while autonomous data agents do the diggingagenticarchitect

    Guarding the till while autonomous data agents do the digging

    Autonomous agents are genuinely good at answering messy business questions. Give one an LLM and a set...

    S
    Sireesha Pulipati
    Return on Attention: Why AI Code Reviews Are Wearing Us Outai

    Return on Attention: Why AI Code Reviews Are Wearing Us Out

    PR volume went up, ticket quality didn't, and the gap got filled with LLMs on both sides of the review: bots reviewing, bots replying, bots occasionally arguing with bots about priorities that only existed in a teammate's head. Our CEO named the actual problem, and it's bigger than code review.

    C
    christine

    Stay up to date

    Get the latest Stable Diffusion prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Stable Diffusion and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Stable Diffusion resource

    • AI Agent Blueprint for Streamlined Website Developmentn8n · $19.99 · Related topic
    • Streamlined Testing Automation for Efficient Development Workflowsmake · $12.34 · Related topic
    • Automate Your Website Development with AI-Powered Chat Workflown8n · $6.3 · Related topic
    • Automated MERN Stack Dev Environment Setup on Linux Servern8n · $24.99 · Related topic
    Browse all workflows