Annonate Feature in TFS

Sometimes people want to know who made changes to a file or who has written some specific lines of code. So Instead of searching and tracking we can directly use the Annotation feature in TFS. You can annotate a file to determine who made changes and what changes they made in all the earlier versions of the file.

Procedure to annotate a file

In Visual Studio, Solution Explorer, go to the of the file you want to annotate, right-click on that file and then choose Source Control and then Annotate.



The Annotated window displays the annotated file.



Each annotation appears to the left of the text that was changed Contains :Changeset number , The name of the person who made the change, Date.

You can open the context menu for an annotation.



From the Context menu you can see all ChangesetDetails : Changeset Details , View History , Compare With Previous Version, Annotate This Version, Track Changeset, Get This Version

This feature has been extended in Visual Studio with Code Lens Making connection with Lync and adding some more details. For more info check Code Lens in Visual Studio 2013.

Up Next
    Ebook Download
    View all
    Learn
    View all