DataGrip 2016.3 Help

Differences viewer for folders

/help/img/idea/2016.3/dbe_compareFolders.png

File comparison statuses and intended operations are shown in the column marked with an asterisk (*). To assign or change an operation, use the context menu associated with the corresponding cell. Alternatively, click the cell or press Space one or more times.

Applying operations:

  • /help/img/idea/2016.3/debug_resume.png (Enter) applies the operations to selected files.
  • /help/img/idea/2016.3/rerun.png (Ctrl+Enter) applies the operations to all the files.
IconDescription
/help/img/idea/2016.3/arrow_right.png The file exists only in the left-hand folder. The intended operation is to copy the file to the right-hand folder.

If a file exists in both folders and you apply this operation, the file in the right-hand folder is overwritten.

/help/img/idea/2016.3/not_equal.png For the selected comparison criterion, the files are not identical. No operation is assumed.

Study the file differences in the lower part of the view. You can choose to overwrite one of the files by assigning and applying the corresponding operation. You can as well modify the file contents.

This may be done by typing or by using the following buttons and context menu commands:

  • /help/img/idea/2016.3/icon_InsertReplace.png or /help/img/idea/2016.3/icon_InsertReplace2.png or Replace. Replace the fragment with the one from the other pane.
  • /help/img/idea/2016.3/arrowRightDown.png or /help/img/idea/2016.3/arrowLeftDown.png or Insert. Insert the fragment into the other pane.
  • Remove. Remove the corresponding fragment.

To undo the changes, use Ctrl+Z.

/help/img/idea/2016.3/equal.png For the selected comparison criterion, the files are identical. No operation is assumed.
/help/img/idea/2016.3/arrow_left.png The file exists only in the right-hand folder. The intended operation is to copy the file to the left-hand folder.

If a file exists in both folders and you apply this operation, the file in the left-hand folder is overwritten.

close.png Delete the file. The operation is not available for files that exist in both folders.
Last modified: 22 March 2017