Found this command line:
on MacOSX: (IDEA EAP 11)
/Applications/IntelliJ\ IDEA\ 11.app/Contents/MacOS/idea diff /Users/ben75/file1.txt /Users/ben75/file2.txt
On MacOSX, it cannot work when IDEA (11) is open.
on Windows: (IDEA EAP 12)
"C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.0\bin\idea.exe" diff C:\Users\ben75\file1.txt C:\Users\ben75\file2.txt
It works even if IDEA is already open.
I'm having trouble trying to compare files without extensions (or extensions that don't match)
Directly from IDEA (EAP 12)
Not so simple, but it works ...
- File> Open ...> select the file "file1.txt"
- File> Open ...> select the file "file2.txt"
- Create a “Favorites list” and add both files to this favorites list. (for this: ctrl + right-click on the file name tab in the editor> add to favorites> select the just created favorites list - see screenshot)
- Finally, open Favorites (Alt + 2 or click on it on the left or the IDEA window).
- Select both files
- Right click: "compare two files" (or ctrl + D)

ben75 Jan 19 '13 at 8:32 2013-01-19 08:32
source share