IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Differences viewer for files

Last modified: 10 August 2022

Project tool window | context menu of a file | Compare File with Editor

Project tool window | context menu of a file | Compare Files

Version Control/Commit tool window | Local Changes tab | App actions diff

Version Control tool window | context menu of a folder or file | Show Diff

This dialog is displayed when you compare two files or two versions of a file (local changes or changes between local files and their revisions in a remote repository). You can compare files of any types, including binaries and .jar files. To open the dialog, select two files to compare or a file to compare its versions and press Ctrl+D.

The differences viewer provides a powerful editor that enables code completion, live templates, and other features.