Code Mind Map
Mind maps linked to code, for VS Code and Visual Studio
Dart code generation on save, with no part files
Open source
dmx is an open-source Dart code generator that rewrites annotated classes whenever a file is saved, adding members such as copyWith, equality and JSON handling directly into the class. It is for Dart and Flutter developers who want to drop build_runner runs and .g.dart files, and it works through a VS Code extension.
1 of 1: Home page on a computer
dmx takes a different route to Dart code generation. Instead of producing separate part files that a build step has to refresh, it writes generated members straight into the annotated class, between two //#region markers. There is no part directive, no .g.dart file and no build_runner command to remember.
The VS Code extension starts a watcher when the workspace opens. Saving a file whose generated output has changed rewrites it, and files with unchanged output are left alone. Before anything is written, dmx parses the complete candidate file; if generation fails, the original stays exactly as it was.
The current release ships 11 built-in macros covering models, unions, enums, routes, REST clients and SQL tables. The model macro, for example, produces immutable classes with JSON conversion, copyWith, equality, hashCode and toString, and individual parts can be switched off.
All three paths share the same validation and atomic write. A browser playground allows trying dmx without installing anything, and the code is BSD-3-Clause licensed.
| Product | Pricing | From | Free plan | Open source |
|---|---|---|---|---|
| StashDockPersonal context library for any AI chatOpen source · free plan · open source | Open source | — | Yes | Yes |
| Claude Code ManagerVS Code sidebar for Claude Code sessions, usage and configOpen source · free plan · open source | Open source | — | Yes | Yes |
| JSON FlowVS Code extension that turns data files into graphsOpen source · free plan · open source | Open source | — | Yes | Yes |
| Teams Chat ExporterExport Microsoft Teams chats to JSON, CSV, HTML or PDFOpen source · free plan · open source | Open source | — | Yes | Yes |
| Workflow Visual EditorDrag-and-drop GitHub Actions editor for VS CodeOpen source · free plan · open source | Open source | — | Yes | Yes |
No. Generation happens on save through the VS Code extension's watcher, without a build_runner run or generated part files.
dmx checks the whole candidate file before writing. If it does not validate, the file is left unchanged.
Yes. The built-in macros render through Mustache templates that can be edited, and custom Dart macros can generate code the built-ins do not cover.
Mind maps linked to code, for VS Code and Visual Studio
Decision-record toolkit for programming with AI
WordPress plugin for using Tailwind CSS v3 and v4
Local MCP server for symbol-level code retrieval
Obsidian plugin for visual and AI Mermaid diagrams
Figma plugin for placing open-source 3D icons