RubyMine 6.3.0 Web Help

VCS | Local History | Show History

VCS | Local History | Show History for Selection


Use this dialog box to explore changes to a file, or selection. The dialog box consists of two views:

Tip

The same dialog boxes are available on the context menu of a file or selected text in the editor.

History view

This view shows the list of revisions of a file, with the date and time when the revision has been stored. Some of the revisions are supplied with tags and labels.

Revisions are tagged automatically, for example, on opening a project, committing changes, or performing test. You can also set your own labels.

Item Description
rollback.png Click this button to revert the selected action.
iconCreatePatch.png Click this button to create a patch based on the selected local version.
help.png Click this button to have the corresponding reference topic shown.

Tip

The same actions are available on the context menu of each revision.

Differences view

The Differences view is a powerful editor that supports basic search and replace, undo/redo actions, and code completion.

If a revision is selected in the History view, the left pane of the Differences view shows this read-only revision, with the differences against the current revision, which is displayed in the right pane. The current revision is editable.

Item Shortcut Description
img Ctrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Escape, WCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertMeta+C or Meta+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert Click this button to copy the line at the caret or the selected fragment of text to the Clipboard.
img or img F7F7F7F7F7F7F7Ctrl+F7F7F7F7Control F7F7 or Shift+F7Shift+F7Shift+F7Shift+F7Shift+F7Shift+F7Shift+F7Shift+F7Shift+F7Shift F7Shift F7Shift F7Shift F7 Use these buttons to move to the next or previous difference.
Ignore whitespace Use this drop-down list to define how the differences viewer should treat white spaces in the text.
  • Do not ignore - when this option is selected, white spaces are considered unimportant and the differences are highlighted.
  • Leading and Trailing - select this option to have differences in the end and in the beginning of a line ignored.
  • All - when this option is selected, white spaces are considered unimportant regardless of their location in the source code.
icon_InsertReplace, icon_InsertReplace2 or iconRemoveChange Use these buttons to apply differences.
Legend This area shows summary information about the encountered differences: the number of differences found and the color map.

The color map for the Differences viewer is configured in the Colors and Fonts page.

See Also

Concepts:

Procedures:

Web Resources: