IntelliJ Diff Tool in SourceTree

ThanksBro picture ThanksBro · Feb 8, 2013 · Viewed 15.4k times · Source

Is it possible to use IntelliJ Diff tool in SourceTree? I know it is accessible from terminal.

Thanks

Answer

firetrap picture firetrap · Jul 26, 2016

For OSX android studio i've accomplished with this steps:

Open IntelliJ/Android Studio -> Tools -> Create Command Line Launcher

Something like this:

After that, open SourceTree Preferences: and put "/usr/local/bin/studio" in Diff/Merge Command. Like this:

 Like This:

Diff Arguments:

diff $LOCAL $PWD/$REMOTE

Merge Arguments:

merge $PWD/$LOCAL $PWD/$REMOTE $PWD/$BASE $PWD/$MERGED

And if everything it's ok it should work.