I’m using IDE 10.5 Community edition.
In one project, I have multiple modules. I also have opened multiple tabs in the editor from different modules.
Is there a way to compare the content of two different tabs in the editor, which can be from different modules?
Select two files (with pressed Ctrl) in project view panel → Right Mouse button →
Compare Files.Right click on the file in project view →
Compare With...(Ctrl+D)If you have opened one file in editor you can navigate in project view to another file and press right mouse button on that file
Compare with Editor.It is possible to compare file against your clipboard content.
View→Compare With clipboardAlso you can use idea as external diff tool
idea diff file1.txt file2.txtOutdated; Old verison of IntelliJ: Also you can compare files from ‘Commander’ tab, just select two files in right and left panels, right click on any of them →
Compare two files