Recommendations for comparing printouts e.g. `@code_`

Looking for an offline tool with a nice UI for highlighting differences between 2 or more chunks of text. Bonus if I can hide some intermediate lines in the comparison. Could be a Julia package for strings, could be something else that just needs pasted text or text files (printed via redirect_stdout if not directly supported as an argument).

My first thought would be something like vimdiff?

I think VS Code also has a built-in diff viewer?

But it also may make a difference if you are doing e.g. code_lowered vs code_llvm? Presumably you want syntax highlighting?

1 Like
2 Likes

Yes, though if the highlighting in printouts like @code_warntype isn’t feasibly replicable, I could live without it.