EasyDiff
EasyDiff copied to clipboard
different diff tool based on OS?
Hi, I have my user directory synced between different machines. Some are Windows based, some are Linux. Is it possible to tell EasyDiff to use different external viewers based on the OS? I'd like to use Beyond Compare on Windows and Kompare on Linux.
Thanks!
@Wargazm I didn't realize that this wasn't documented. We use a library called multiconf. See the libraries header for more info: https://github.com/facelessuser/EasyDiff/blob/master/lib/multiconf.py#L22
But this is a quick example from my personal configuration where I setup Beyond Compare on Windows and macOS.
// External diff tool path (absolute)
"external_diff": {
"#multiconf#": [
{"os:windows": "C:\\Program Files (x86)\\Beyond Compare 4\\bcomp.exe"},
{"os:osx": "/usr/local/bin/bcomp"}
]
},
oh, fantastic! Thanks so much.
I'll leave this open as a reminder that I need to formally document this.