From VS Code to Zed: building a FreeMarker extension because I needed one — DeepSeek Blog | Neura Market
    Neura MarketNeura Market/DeepSeek
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityTrendingGenerate
    DeepSeekBlogFrom VS Code to Zed: building a FreeMarker extension because I needed one
    Back to Blog
    From VS Code to Zed: building a FreeMarker extension because I needed one
    tooling

    From VS Code to Zed: building a FreeMarker extension because I needed one

    Andrea Debernardi January 15, 2026
    0 views

    From VS Code to Zed: building a FreeMarker extension because I needed one A few months...

    # From VS Code to Zed: building a FreeMarker extension because I needed one A few months ago, I switched from VS Code to **Zed**. Not because VS Code is bad — it’s still an amazing editor — but because it slowly became… heavy. My setup had turned into a Frankenstein monster of freemium extensions, background processes, upsells, and “just one more helper” that somehow made everything slower. ![My VS Code setup: I feel thin, sort of stretched, like butter scraped over too much bread.](https://i.imgflip.com/7klie9.gif) I wanted something: - fast - open-source - opinionated - boring in the best possible way Zed checked all the boxes. Until I had to start working with **FreeMarker**. --- ## FreeMarker is still very much alive If you work in Java or enterprise environments, you already know this. FreeMarker isn’t trendy. It’s not on Hacker News every week. But it’s **everywhere**. In my case, I’m using it in a project that integrates **Keycloak**, where FreeMarker templates are still a core part of the customization flow. So yes — FreeMarker is old. And yes — it’s still critical. Which made this part a bit painful: 👉 **Zed had no FreeMarker support.** No syntax highlighting. No understanding of directives. Nothing. ![Fine, I’ll do it myself](https://i.imgflip.com/ahfka5.jpg) --- ## The “fine, I’ll do it myself” moment Zed is fast enough that once you get used to it, going back feels… wrong. So instead of switching editors again, I thought: > “How hard can it be to write a FreeMarker extension?” (Last words before opening a tree-sitter grammar.) I already knew that: - Zed uses **tree-sitter** - Syntax highlighting is grammar-driven - Extensions are lean and explicit I also had a starting point: a **FreeMarker extension for VS Code**. The idea was simple: - reuse what I could - adapt what I had to - learn the Zed extension model along the way With some help from **vibe-coding** and a lot of trial & error, I started porting it. --- ## The actual journey (a.k.a. tree-sitter reality check) Some things were easier than expected: - Zed’s extension model is refreshingly clean - Tree-sitter forces you to think properly about structure - No magic, no hidden layers Some things were… not: - FreeMarker syntax is flexible in *annoying* ways - Directives, interpolations, nested expressions - Edge cases you only notice after breaking everything Porting from VS Code wasn’t a copy–paste job. It was more like translating between two different mental models. But honestly? That’s what made it fun. ![The actual journey](https://i.imgflip.com/ahfkn3.jpg) --- ## The result: early, but usable The extension is live here: 👉 **https://github.com/debba/zed-freemarker** What it supports today: - FreeMarker syntax highlighting - Directives - Interpolations - A solid base for further improvements Is it perfect? No. Is it production-grade? Not yet. Is it **good enough to work daily without hating your editor**? Absolutely. And for an editor like Zed, that already feels like a win. --- ## Thoughts on Zed and niche tooling Zed feels like an editor for people who: - enjoy understanding how their tools work - prefer fewer abstractions - don’t mind building missing pieces themselves Writing this extension reminded me of something important: > Open source doesn’t move forward only with big features — > it also grows through small, boring, niche tools that solve real problems. FreeMarker isn’t cool. But someone still has to maintain it. ![The actual journey](https://i.imgflip.com/ahfkrv.jpg) --- ## What’s next? Possible next steps: - better grammar coverage - error handling - maybe an LSP in the future (no promises) If you: - use FreeMarker - use Zed - enjoy hacking on developer tools Feedback, issues, and PRs are more than welcome. Sometimes the best extensions start with a simple need: > “I just want my editor to understand this file.” And that’s exactly how this one was born 🚀

    Tags

    toolingsoftwarecodingopensource

    Comments

    More Blog

    View all
    How I'm using ASTs and Gemini to solve the "Codebase Onboarding" problem 🧠ai

    How I'm using ASTs and Gemini to solve the "Codebase Onboarding" problem 🧠

    Hi everyone! 👋 I’m Tara, a Senior Software Engineer and Consultant. Over the years, I've jumped...

    T
    tworrell
    Local AI Will Save Us All (The Math Says So, Trust Me)ai

    Local AI Will Save Us All (The Math Says So, Trust Me)

    Every few weeks a take goes viral in tech circles making the case for ditching cloud AI and running...

    S
    Sebastian Schürmann
    Lost in the AI Hype, I Started Smallai

    Lost in the AI Hype, I Started Small

    And it helped me get back into tech without drowning TL;DR at the end Coming back to...

    R
    Rohini Gaonkar
    Building a Replay-Tested Interactive Brokers Client in Gogo

    Building a Replay-Tested Interactive Brokers Client in Go

    I wanted an IBKR library that felt like Go and had testing I could trust. So I wrote one.

    T
    Thomas Marcelis
    Playwright in Pictures: Fully Parallel Modeplaywright

    Playwright in Pictures: Fully Parallel Mode

    Playwright’s fullyParallel mode is often treated as a simple performance switch. In practice, it...

    V
    Vitaliy Potapov
    Designing a CLI for Both Humans and Agentscli

    Designing a CLI for Both Humans and Agents

    Learn how Alpic designed its CLI for both human developers and AI agents — covering tradeoffs like polling, context windows, interactivity, and statelessness.

    J
    Julien Vallini

    Stay up to date

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

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for DeepSeek 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.