zMyBatis: The Chronicles of the IntelliJ Plugin I Built Because I Was Pissed Off

zMyBatis - MyBatis Dynamic SQL Runner with Parameters. Give it a try and let me know what you think!

Share

1. The Root of the Problem: "What the hell am I doing..." (Cue existential dread)

TL;DR
Target: IntelliJ Ultimate & Community users
Feature: Right-click in MyBatis XML to bind parameters and either execute immediately or copy to clipboard.
Result: A tear-jerkingly low download count, 0 reviews. Still, hoping it helps someone out there with the same pain...
Future Plans: Since there aren't many users, I can't really think of any new features to add. Just considering a UI improvement for the parameter input.

In practice, every time I tested MyBatis dynamic SQL, I had to scrape logs and manually copy/paste values into the ? parameters. Exhausted by this grunt work, I finally decided to build an IntelliJ plugin myself.

The AI keeps trying to write it like the above, but my actual workflow was different.

Well, honestly, my experience is pretty hollow, so I don't really know what a "standard" workflow looks like,

and it's a bit embarrassing to even write down my own workflow.

Anyway, xml mapper queries made my life miserable.

One way or another, it's uncomfortable. It's annoying. It pisses me off.

2. Wait, this doesn't exist?...

I was so uncomfortable, but JetBrains IDEs didn't natively support the feature I wanted, and there wasn't a plugin for it either.

3. Let's Craft It Myself! (feat. AI Assistant)

All I did was whip the AI Assistant.

When things weren't working out, I swore a lot. Not just in my head or muttering to myself, but directly at the AI Assistant.

When I got truly stuck, I'd debug it myself, figure out the issue, and tell the AI, and it would fix it for me.

4. The 'Z' Episode

Why did I name the plugin zMyBatis?

Because 'Z' is the final boss. Like ZFS.

But the JetBrains Marketplace search was a bit weird.

Even if you searched for mybatis, my plugin wouldn't show up.

It should be searchable now.

. Polishing the Product

After implementing the core feature, I wondered if there was anything else needed,

so I just tacked on whatever came to mind and provided them as options.

6. What Even Is Marketing?

I posted promotional threads on various domestic and international dev communities, but there was almost zero response.

I even got banned from a Reddit community for violating their operating rules.

7. Wrapping Up

At this point, I consider it a plugin just for me.
Still, I hope it becomes helpful to someone out there.

Read more

Zed에서도 Spring Boot 개발이 됩니다

Zed를 쓰다가 Java/Spring 프로젝트를 열면 늘 같은 벽에 부딪힙니다. 공식 Java 익스텐션 덕분에 Java 자체는 잘 되는데, Spring은 아무것도 모릅니다. application.yml은 그냥 텍스트고, @Value("${...}") 안에서는 자동완성이 안 되고, @Query 안의 JPQL은 오타를 내도 조용합니다. 결국 Spring 작업만 IntelliJ나 VS Code로 넘어가게 됩니다. 그래서 Zed Spring Tools

By algorist

DB 테이블을 우클릭 한 번으로 Mermaid ERD로 — erdMaid 플러그인을 만들었습니다

문서에 넣을 ERD가 필요할 때마다 같은 일을 반복하고 있었습니다. DataGrip에서 테이블 스키마를 열어놓고, 컬럼 이름과 타입을 하나씩 옮겨 적고, FK 관계를 눈으로 따라가며 ||--o{ 를 손으로 그리는 일이요. 테이블이 다섯 개면 참을 만합니다. 마흔 개면 참을 수 없습니다. 그래서 erdMaid 를 만들었습니다. IntelliJ 계열 IDE의 Database 도구 창에서 테이블을 선택하고

By algorist