The Pull Requests for Visual Studio extension provides a set of new code review tools for the IDE. With this extension you can:
See a history of changes as you code
Make live edits and set breakpoints in the diff view
Create new Pull Requests on Azure Repos
Review and checkout Pull Requests from Azure Repos
Add Likes, make comments over any span of code and use full markdown
Connect to your Azure Repo
Open Team Explorer and click the Green plug icon in the toolbar.
Click Manage Connections -> Connect to a Project…
Sign in to your account.
Select an Azure Repo from the list then click Connect.
Large organizations may have many teams working together. If you are a member of multiple teams click the title bar where it says “Home”. Then go to “Projects and My Teams” to pick the team where you want to review code.
Review a Pull Request
The Pull Requests extension lets you manage and review pull requests from inside the IDE. Open a pull request from Team explorer to:
Read and update pull request details and discussions
Review files changed in the pull request
See diffs and make comments in the editor
Checkout the changes locally for full code navigation and debugging
Create a New Pull Request
Create new pull requests without leaving the IDE. Review changes, add all the details for the pull request, assign reviewers, and add work items. Use the Build and Code Analysis Results to resolve issues and get green before you submit the PR.
Turn on comparisons as you code
Use the new Comparisons window to compare any point in your branch against the latest code to understands that changes that happened over time. Use Comparisons to walk a coworker through your changes or to review a large change before you create a pull request.
This extension does not support pull requests on Azure DevOps Server
The diff editor available for viewing changes in a pull request or through the Comparisons tool window do not support binary files or images
Checking out a pull request will set that repository to a detached head at the latest commit. To restore to your previous state use the branch tools in Visual Studio or the Git Checkout command.
When you checkout a pull request changed files are not editable. Other files not part of the pull request are editable. This is a temporary limitation until we can make all files editable.