CLion
 
Get CLion
Join the CLion 2025.1 Early Access Program and try out new features before they are released! Find out more

Diff Viewer for files

Last modified: 08 October 2024

This Diff Viewer 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 it, select two files to compare or a file to compare its versions and press Ctrl0D. The Diff Viewer will be opened in a new tab.

The Diff Viewer provides a powerful editor that enables code completion, live templates, and other features. For more information, refer to Compare files, folders, and text sources.

The changes that you apply in the Diff Viewer are automatically applied to the files. You can view the changes in the files at any time while working with the Diff Viewer and after closing it.