View file annotations in Eclipse

The Eclipse integration provides the Annotations view where you can review code changes, related change requests, and user comments.

For an overview of file annotations, see View file annotations.

Open the Annotations view

In the Annotations view, you can view who has modified blocks of code and why. Each user’s commits are highlighted with the same color.

To open the Annotations view in the Eclipse IDE:

  1. In Package Explorer, right-click a file and select Team > View Annotations.

  2. In the left pane, hover over an item revision. A tooltip displays the following information:

    • The item revision.

    • The user who made the modification.

    • The date the modification was made.

    • Related change requests.

    • Comments added by the user when the item revision was delivered.

    To keep the tooltip in focus, press the F2 key.

Back to top

Work with annotations

In the Annotations view, you can view an item's revision history, browse an item revision, and open related requests.

To use the Annotations view in the Eclipse IDE:

  1. In Package Explorer, right-click a file and select Team > View Annotations.

  2. Select what you want to view:

    Task Description
    View the revision history of an item.

    In the Annotations view, right-click an item revision, and select History.

    The item revision history opens in a new tab.

    Browse an item revision.

    In the Annotations view, right-click an item revision, and select Browse Revision.

    The item revision opens in a new tab.

    Open a request related to changes in a file.

    In the Annotations view, right-click an item revision, select Open Related Request, and choose a request from the list.

    External requests open in their request provider instance.

Back to top

See also: