How do I view comments from an earlier code review in Team Foundation Service?

前端 未结 3 843
梦谈多话
梦谈多话 2021-02-12 10:27

I\'m using Microsoft\'s online Team Foundation Service with Visual Studio 2012 Premium.

I performed a code review for a colleague a couple of months ago, and now another

相关标签:
3条回答
  • 2021-02-12 10:52

    OK, I've found my answer by trial and error:

    1. In Visual Studio 2012 open the Team Explorer
    2. Under Work Items, click "New Query"
    3. Run a query to find the relevant code review item
    4. In the query results, double click the code review work item
    5. Click "Open Code Review in Team Explorer (top left)
    6. The code review will open in the Team Explorer panel
    0 讨论(0)
  • 2021-02-12 10:52

    If you do not perform many code reviews, this may also be easier: In Team Explorer, under My Work, there is a Code Reviews section near the bottom. A subtle drop down menu can let you pick other choices, such as:

    • My Code Reviews
    • Incoming Requests
    • Recently Finished
    • Recently Closed

    If you select "Recently Finished", you should be able to view your completed code reviews and pick the one you want from there.

    0 讨论(0)
  • 2021-02-12 11:05

    In Visual Studio 2017 the link Open Code Review in Team Explorer might not appear. To display the link on code review work items go to the following starting from the main menu:

    Tools -> Options -> Work Items
    

    Change Open work items in: from Default browser to Visual Studio.

    Now you can execute queries on work items of type Microsoft.CodeReviewResponseCategory or Microsoft.CodeReviewRequestCategory and the link should appear in the top left corner of the work item.


    Thank you user735232 for your comment, I added this as answer to make the solution more visible.

    0 讨论(0)
提交回复
热议问题