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 <hi@stefancosma.xyz>"]
    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
    Five Gemma-4 models, one accelerator: what porting E2B 31B to AWS Inferentia2 taught megemma

    Five Gemma-4 models, one accelerator: what porting E2B 31B to AWS Inferentia2 taught me

    I ported the whole Gemma-4 family — E2B, E4B, 12B, 31B, and the 26B-A4B MoE — to run on...

    X
    xbill
    Hey DEV, I'm Tobore. Let's actually connect.community

    Hey DEV, I'm Tobore. Let's actually connect.

    Hey DEV, I'm Tobore. Let's actually connect. I've been on here for a while now, mostly writing and...

    L
    Laurina Ayarah
    I burned through thousands of AI tokens. Then a friend did it for freeai

    I burned through thousands of AI tokens. Then a friend did it for free

    (yep, kinda clickbait, just for the funsies 😊) At the beginning of the year, I relaunched my...

    P
    Paulo Henrique
    Claude might be saturating your machineai

    Claude might be saturating your machine

    My laptop was sitting idle with the fan at full tilt. Nothing was running that I knew of. The culprit...

    S
    Sidhant Panda
    Automated GitHub Code Reviews Using Google Geminigithubactions

    Automated GitHub Code Reviews Using Google Gemini

    I Built a Thing! TL;DR — Google Gemini-based Pull Request reviews and Issue Triaging for...

    D
    Darren "Dazbo" Lester
    What is an "agentic harness," actually?ai

    What is an "agentic harness," actually?

    I've been hearing the word "harness" thrown around a lot lately. I assumed it just meant "the IDE" or...

    T
    Tilde A. Thurium

    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.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

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

    • Readable Workflow Export & Deployment Pipeline for Multi-Environment CI/CDn8n · $14.99 · Related topic
    • Automate MERN Stack Environment Setup on Linuxn8n · $14.99 · Related topic
    • Automate Product Development with AI-Driven CPO and Specialized Agentsn8n · $14.99 · Related topic
    • Automate Twitter Growth with Hashtag-Driven Auto-Followingn8n · $14.99 · Related topic
    Browse all workflows