Wanted: a tool with 4 panes:
- desired generated code
- an in progress proc-macro being written
- input code where the proc-macro is being applied
- a live updating view of the actual generated code with diff annotations against what was desired

If you want to go fancier, tie things in the output to the input and provide suggestions on where things are missing pre-expansion for the output to march the expectation. I feel like 90% of this can be accomplished today with tmux+a file watcher+direct rustc invocations using -Zunpretty=expanded, but it'd be lovely to have an actual tool for this.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/ekuber/statuses/115073563659898007 on your instance and quote it. (Note that quoting is not supported in Mastodon.)