JetBrains Fleet 1.44 Help

Compare files and text sources

JetBrains Fleet lets you review the differences between files and text sources.

Compare files

Compare files

  1. Navigate to View | Tools from the main menu and select Empty Diff. Alternatively, to open tool search, press ⌘ T.

  2. Click the Open File link in the Left pane and navigate to the file that you want to compare. Paste the code of the second file in the Right pane.

    Compare files

JetBrains Fleet displays the differences in the Diff Viewer for Files:

Color

Description

New lines Green

Added

Modified lines Blue

Modified

Deleted lines Gray

Deleted

To apply changes, use the chevron buttons: apply left and apply right.

Locations where new code is added or deleted are indicated by colored vertical dashes:

Locations where new code is added or deleted

Compare any text sources

Apart from comparing contents of files, you can paste any text to compare. This can be useful, for example, if you want to compare the console output of an application with the output from a slightly modified version of the same application.

  1. Navigate to View | Tools from the main menu and select Empty Diff. Alternatively, to open tool search, press ⌘ T.

  2. Paste any text you want to compare in the left and right panels.

Last modified: 22 November 2024