DataGrip 2017.1 Help

Differences viewer for folders

/help/img/idea/2017.1/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/2017.1/debug_resume.png (Enter) applies the operations to selected files.
  • /help/img/idea/2017.1/rerun.png (Ctrl+Enter) applies the operations to all the files.
IconDescription
/help/img/idea/2017.1/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/2017.1/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/2017.1/icon_InsertReplace.png or /help/img/idea/2017.1/icon_InsertReplace2.png or Replace. Replace the fragment with the one from the other pane.
  • /help/img/idea/2017.1/arrowRightDown.png or /help/img/idea/2017.1/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/2017.1/equal.png For the selected comparison criterion, the files are identical. No operation is assumed.
/help/img/idea/2017.1/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: 27 July 2017