To compare two directories, select them in the Files tool window and press &shortcut:CompareTwoFiles;.