From VS Code to Zed: building a FreeMarker extension…
    Neura MarketNeura Market/DeepSeek
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityTrending
    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.

    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


    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


    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

    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
    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 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.

    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 DeepSeek resource

    • Generate AI Videos from Scripts with DeepSeek, Synthesia, and Together.ain8n · $24.99 · Related topic
    • Compare Multi-Period Financial Data from Google Sheets with DeepSeek AI Analysisn8n · $14.99 · Related topic
    • Automate Blog Content Creation with Notion MCP, DeepSeek AI, and WordPressn8n · $9.99 · Related topic
    • Building a RAG Chatbot for Movie Recommendations with Qdrant and OpenAIn8n · $14.99 · Related topic
    Browse all workflows