
From VS Code to Zed: building a FreeMarker extension because I needed one A few months...
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.

I wanted something:
Zed checked all the boxes.
Until I had to start working with FreeMarker.
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.

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:
I also had a starting point:
a FreeMarker extension for VS Code.
The idea was simple:
With some help from vibe-coding and a lot of trial & error, I started porting it.
Some things were easier than expected:
Some things were… not:
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 extension is live here:
👉 https://github.com/debba/zed-freemarker
What it supports today:
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.
Zed feels like an editor for people who:
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.

Possible next steps:
If you:
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 🚀
gemmaI ported the whole Gemma-4 family — E2B, E4B, 12B, 31B, and the 26B-A4B MoE — to run on...
communityHey DEV, I'm Tobore. Let's actually connect. I've been on here for a while now, mostly writing and...
ai(yep, kinda clickbait, just for the funsies 😊) At the beginning of the year, I relaunched my...
aiMy laptop was sitting idle with the fan at full tilt. Nothing was running that I knew of. The culprit...
githubactionsI Built a Thing! TL;DR — Google Gemini-based Pull Request reviews and Issue Triaging for...
aiI've been hearing the word "harness" thrown around a lot lately. I assumed it just meant "the IDE" or...
Workflows from the Neura Market marketplace related to this DeepSeek resource