Wilfred / difftastic

a structural diff that understands syntax 🟥🟩
https://difftastic.wilfred.me.uk/
MIT License
19.94k stars 317 forks source link

Include line number in patch diff header #715

Open adithyabsk opened 1 month ago

adithyabsk commented 1 month ago

Is it possible to configure difftastic to include the line number / column number after the file? This would allow integrated terminals for IDEs (Intellij / VSCode) to ⌘+Click to the appropriate file.

image

In this example, it would print as .tmux.conf:3:1 for example

Version: Difftastic 0.57.0 (built with rustc 1.76.0)