erdMaid: Export Database Tables to Perfect Mermaid ERDs

Overcome the limitations of default IntelliJ exports. Accurately convert your database tables—including exact column orders, comments, and relationships—into perfect Mermaid ERDs.

Share

While IntelliJ IDEA and DataGrip offer fantastic built-in Database tools, sharing your schema documentation can be frustrating. The default Mermaid export feature often falls short for practical use.

It tends to force schemas into a classDiagram format instead of a proper ERD, scrambles the actual ordinal position of your columns, and ignores crucial table and column comments (logical names).

To solve this, I created erdMaid—a plugin designed to flawlessly export your database tables into the official Mermaid erDiagram format.

✨ Key Features

  • Native erDiagram Syntax: Generates standard Mermaid Entity-Relationship Diagrams, not clunky class diagrams.
  • Preserves Column Order: Keeps the exact ordinal position of columns as they are defined in your database.
  • Rich Metadata Extraction: Automatically maps Data Types, Primary Keys (PK), and draws relationship lines for Foreign Keys (FK).
  • Includes Comments: Extracts table and column comments so your generated diagrams are fully self-explanatory.
  • One-Click Clipboard: No extra steps. The generated Mermaid script is instantly copied to your clipboard.

🚀 How to Use

  1. Open the Database tool window in IntelliJ.
  2. Select the table(s) you want to export.
  3. Right-click and select Export as Mermaid ERD from the context menu.
  4. Paste the copied Mermaid code wherever you need it!

💡 Tip: Pair this with my other plugin, markflow (a live Markdown & Mermaid editor). Extract your schema with erdMaid and instantly visualize it in markflow for an ultimate documentation workflow!

📥 Download & Installation

You can find erdMaid by searching in the JetBrains Marketplace, or install it directly via the link below:

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