Setting up an IntelliJ IDE as diff tool Windows

suggest change
[diff]
    tool = intellij
    guitool = intellij
[difftool "intellij"]
    path = D:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.2/bin/idea.bat
    cmd = cmd \"/C D:\\workspace\\tools\\symlink\\idea\\bin\\idea.bat diff $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE")\"

cmd does not accept some characters in the path. If the IDE is installed under a path such as Program Files (x86), create a symlink to a path without those characters and use the symlink in cmd.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents