36 ms·
I would love to see this as a plugin for an IDE like Visual Studio or Qt Creator. The diagram commands would be in comments, and the graphic representation rend
by GnarfGnarf 4y ago
I would love to see this as a plugin for an IDE like Visual Studio or Qt Creator. The diagram commands would be in comments, and the graphic representation rendered in-line with the source code.
- alixanderwang 4y agoyou can do this in VSCode now actually. the CLI has a live-reloader, so if you put the PNG on a side by side window with the code, every code change will see the PNG change.
- GnarfGnarf 4y agoDo you mean the PNG is automatically re-generated if the commands to describe the chart or graphic, are changed?
- alixanderwang 4y agoyes
- deleted 4y ago[deleted]
- g_ali 4y ago
- deleted 4y ago[deleted]
- nhooyr 4y agonoted for the VS Code plugin: https://github.com/terrastruct/d2-vscode/issues/8 https://github.com/terrastruct/d2-vscode/issues/8
- GnarfGnarf 4y agoThanks! Does that mean someone might work on it? :o)
- alixanderwang 4y ago100%, these are TODOs! But to be transparent, there's been a lott of TODOs opened from this launch. It's likely going to be a few releases away before we get to this one.