D

D2 Diagram

JetBrains

troodon · v—

D2 Language Support Comprehensive support for D2 (Declarative Diagramming) language in IntelliJ-based IDEs. Features Syntax Highlighting - Color-coded syntax for D2 diagram files Live Preview - Real-time diagram rendering with auto-refresh Split Editor - Edit D2 code and preview side-by-side Preview Modes - Toggle preview rendering between SVG

Code EditingFormattingViewer
Open in store ↗ id: 29542
Downloads
7K
7 095
Rating
4.1 ★
3 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 3 ratings
5★ 66.7%
4★ 33.3%

Reviews 7

★★★★★ Eliseo Martínez 2026-08-06

Great for architects in the AI era. I use it a lot to author architecture documents with the corresponding diagrams. Having diagrams inlined as d2 makes the agent be able to update the diagrams to keep them consistent with changes in text. And this plugin lets you visualize them on the spot. So you literally can see your diagrams change dynamically when requesting changes to your agent.

★★★★★ tylerburke 2026-07-01

The plugin works well. My main use case is to give tools like D2 to my agent for creating design specs - which outputs in MD. Having inline rich diagram support is great for breaking up walls of text. Recently, the developer was very quick to respond to feedback and fix an issue. Thank you again for creating great tools that we can all benefit from!

★★★★★ Ignacio Enriquez 2026-03-28

Excellent tool for D2 creators. Works as expected. Integration with IntelliJ IDEA preview is great.

★★★★★ Joseph Li 2026-03-05

It is good at rendering the diagram when it works. But after rendering for the first d2 file I opened, it stopped working for any other file. Its forever stuck in rendering/waiting for browser. Forgot exactly what the phrase was. Uninstall and reinstall didn't help.

★★★★★ tylerburke 2026-06-24

★★★★★ Mike 2026-01-05

Works as expected. The preview is easy to use and has helpful options. After installing D2 via brew install d2, the plugin detected it immediately and I was able to start writing diagrams right away.

★★★★★ Cedric Lamalle 2025-12-30

Just installed yesterday and it is running well. It auto-detected my d2 installation and ran without further configuration. Eager to see the next features! (Auto-complete? SVG for animations? ;) )

Similar in “Code Editing”