Local History View

See Also

The Local History View allows to quickly access the local history of changes of the relevant file. You can generally open the Local History View by choosing Team > Local history > Show Local history from the main menu. If a file is open in the Source Editor, you can click the History button in the editor's toolbar to open the History View.

This topic introduces the following Local History View features:

Tabs
Toolbar
Diff Viewer

Tabs

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:

Toolbar

The history toolbar is at the top of the History View window. It shows the Local History title and a shortcut Show Versioning History link (applicable to files versioned via Subversion and Mercurial). It can be invoked using the Show editor toolbar item in the View menu.

Diff Viewer

The Diff Viewer is divided into two panes:

You can navigate among individual differences between file versions using the following buttons in the toolbar on the lower pane:

Previous (previous difference button) Highlights the previous difference found between versions.
Next (next difference button) Highlights the next difference found between versions.

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 ( insert icon ) Inserts the highlighted text from the previous revision into the current revision.
Move All ( arrow icon ) Reverts the file's current version to the state of the selected previous version.
Remove  ( remove icon ) 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.

See Also
About Local File History
About the Java Source Editor
About the PHP Source Editor
About the HTML Source Editor
Editing an XML Document

Legal Notices