The History View shows the history of changes of the relevant file. You can generally open the History View by choosing Team > History > Show History from the main menu.
This topic introduces the following History View features:
The top of the History View tab shows the name of the document.
If multiple files are open, you can split the History View by clicking and dragging the tab. As you drag to different parts of the editing area, you see a red outline that shows you where the new window will open. When one of these boxes appears, you can drop the document and split the pane.
You can right-click a tab to access the following commands:
The history toolbar is at the top of the History View window. You can toggle the display of the toolbar by choosing View > Show Editor Toolbar from the main menu.
The following table lists components for the commands that are available in the history editor toolbar for the currently displayed file.
Previous (![]() |
Highlights the previous difference found between versions. |
Next (![]() |
Highlights the next difference found between versions. |
Refresh (![]() |
Refreshes the contents of the view, fetching the latest history information for the file(s). |
Filter (drop-down list) | Displays only those revisions that match the criteria you selected (All, VCS, Local, User, or Message). |
Compare Mode (drop-down list) | Displays differences between the selected file version and its previous or current version. |
Options (![]() |
Displays the Versioning tab of the Options dialog box to configure history and VCS-specific parameters in the IDE. |
Search Git/Mercurial/Subversion History (shortcut link) | Displays the Show History tab for browsing and searching information in VCS repository files. |
The Diff Viewer is divided into two panes:
The Diff Viewer provides the following UI components:
Blue ( ) | Indicates lines that have been changed since the earlier revision. |
Green ( ) | Indicates lines that have been added since the earlier revision. |
Red ( ) | Indicates lines that have been removed since the earlier revision. |
The following icons allow you to make changes directly to the file:
Replace
( ![]() |
Inserts the highlighted text from the previous revision into the current revision. |
Move All
( ![]() |
Reverts the file's current version to the state of the selected previous version. |
Remove
( ![]() |
Removes the highlighted text from the current version so that it mirrors the previous version. |
You can adjust the size of the Diff Viewer panes by dragging the divider between them.