IntelliJ IDEA Community lets you compare the following via context menu commands:directoriesa class or a class member with another class or class membera local file with its versions in Local Historya local file with its current revision in your version control repositoryany two revisions of the same fileany local file with the file currently opened in the Editorany two local files with each other: text or binaryactive Editor with the clipboard contentsany text sources you paste into a blank diff windowYou can configure the Diff tool of the Settings/Preferences dialog (⌘,) under Tools | Diff & Merge.