Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Pull Requests & Reviews for Azure DevOpsNew to Visual Studio Code? Get it now.
Pull Requests & Reviews for Azure DevOps

Pull Requests & Reviews for Azure DevOps

ricar-torres

|
53 installs
| (0) | Free
Review Azure DevOps pull requests in VS Code: native diffs, inline threads, reviewed marks, votes and merge, with PRs from several repos in one view.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pull Requests & Reviews for Azure DevOps

Review Azure DevOps pull requests in VS Code: native diffs, inline threads, reviewed marks, votes and merge, with PRs from several repos in one view.

Stacked UI and API pull requests: open a diff, then Reply & Resolve a thread in the editor

  • One branch, every PR: check out a branch and every open PR for it shows up, stacked across repos (for example UI + API).
  • Native diffs with inline threads: open any file in a VS Code diff, reply and resolve in one click, and watch the tree counters update.
  • Create the PR here: open a pull request for your current branch, across several repos at once, without going to Azure DevOps.
  • Decide in the editor: vote, check merge readiness and complete the PR without opening the browser.

Works with Azure DevOps Services (dev.azure.com) and VS Code 1.90+. Sign in with your Microsoft account, no personal access token needed.

Multi-repo workspaces

Two stacked pull requests from different repos in one Changes view; expanding the C# API PR and opening diffs with resolved and open threads

  • Open PRs from several repos stack in one Changes view.
  • Folder tree with modified, added, deleted and renamed badges, plus open and resolved counts per file and open counts per folder. The view title shows a badge with the total unresolved threads.
  • Native diffs with syntax highlighting and inline threads, resolved and open.
  • Filter by Repository chooses which workspace repos feed the Changes view (not the PR list; it resets on reload).
  • The view follows your branches: switch branch in any repo and matching PRs appear or disappear within a moment, no reload. With no matching PR the view hides, unless you are on a feature branch with no PR yet: then it offers Create Pull Request.

Native diffs and discussion

Adding a line comment with an @mention and a code block quoted from the diff

  • Line comments from the gutter +, and file comments from the diff title bar or a file row in the tree.
  • Open File and Reveal in Explorer View (right-click a changed file) take you from the diff to the file itself, so you can browse the code around it: the component's template, its models, the rest of the folder. They use your workspace copy when the pull request's latest commit is checked out; otherwise the file opens read-only at the pull request's version, with an offer to check the PR out.
  • Type @ to mention people on the pull request.
  • Insert Selected Code in Comment adds the selection as a code block (editor context menu, or Alt+Shift+I in a comment box).
  • Reply, Resolve, or Set Status with any Azure DevOps status: Active, Resolved, Won't fix, Closed, By design or Pending.

Triage and filter

Filtering the Changes tree to files with unresolved comments and jumping between open threads

  • Every file shows its open and resolved thread counts, and every folder shows how many threads are still open.
  • Only files with unresolved comments narrows the tree to what still needs attention.
  • Alt+Shift+N and Alt+Shift+P jump to the next or previous unresolved thread, across files.

Filtering a 77-file pull request by Modified and Added files, then back to all changes

  • Show only Modified (renames included), Added or Deleted files, with live counts.
  • Combine it with the unresolved-comments filter. An empty result offers Clear filter.
  • Pull requests with hundreds of files load completely and page in as needed.

Track progress on big PRs

Ticking files as reviewed, with the progress counter going from 0/12 to 2/12 and the folder checkbox following

  • Tick files, or a whole folder, as reviewed. Counters per folder and per PR show progress, for example 5/12 reviewed.
  • Reviewed marks follow you across machines that have the extension, and reset when a file changes. They are saved on the pull request itself as a per-user property (file path and content hash), so people with read access to the PR can technically read them via the API.
  • Mirrors your marks to the Viewed box in the Azure DevOps web UI (best effort, one-way, on by default; marks made in the browser are not imported). Turn it off with azdoPr.syncNativeViewed.
  • Deleted files appear in the tree like any other change.

Create pull requests

Open a pull request for the branch you have checked out, from VS Code.

Clicking the gray pull request icon next to the branch in Source Control opens the form for that repo; after Create, the PR opens in the overview and the icon turns blue

  • The branch icon shows the state: the pull request icon next to your branch (Source Control view title and status bar) keeps its shape and changes color. Default color: the branch has no pull request yet, click to create one. With a pull request the icon opens it and shows what it needs most: red for merge conflicts, orange for unresolved comments, green when it is approved (someone approved and nobody is waiting or rejecting), blue when it is simply active, the same color meanings Azure DevOps uses. A draft is gray with the dashed draft icon (the status bar says "Draft"), unless conflicts or comments need attention first; it never shows as approved or active. Votes, reviewers, draft and merge status refresh every interval and when the window regains focus, and right after your own actions; the orange state follows the comments the extension has loaded, so a comment made on the web needs Refresh. The tooltip says the same in words. Clicking it also switches the sidebar to the Changes view, ready to review. Pull request rows in the Changes and Pull Requests views use the same colors (drafts show the dashed draft icon, in gray). There is no icon on the repository's default branch.
  • Start it next to your branch: the Create Pull Request icon in the Source Control view title and in the status bar is there for every checked-out branch other than the default one. The icon next to a branch opens the form for that repository only. It is also in the Command Palette (Azure DevOps PR: Create Pull Request), the Create Pull Request icon in the Pull Requests view title (all repos), a repository row's right-click menu (that repo only), or the Create Pull Request link in the Changes view when your branch has no PR.
  • One form in the sidebar: a Create Pull Request pane opens at the top of the Azure DevOps PR sidebar, like the GitHub Pull Requests extension. For each repo it shows the branch you are on (From) and a dropdown of the repository's branches (Into, the default branch marked), then a Title and a Markdown Description (limited to 4000 characters by Azure DevOps). Choose Create, Create as Draft or Cancel; Ctrl/Cmd+Enter in the title or description also creates. Problems (a missing title, an existing PR) appear at the top of the form and keep what you typed. Switching views does not lose your text.

The same branch in two repos: both start unchecked with Create disabled; checking them fills the title and description from their commits

  • Several repos at once: if the same branch is checked out in more than one workspace repo, each gets its own block with a checkbox and its own target. None is checked at first: check the repos you want, and Create stays disabled until at least one is. The title and description are pre-filled from the checked repos' commits and follow your picks until you edit them. One PR per checked repo is created with the shared title and description. If the branch already has a PR into the chosen target in one repo, the form says so; uncheck that repo or pick another target.
  • Remembers your target: the last target you created a PR into is preselected next time for that repository, while the branch still exists; otherwise the default branch.
  • Publish or push first: if the branch is not on Azure DevOps yet, or has commits that are not pushed, the form says so and the extension asks before pushing it through the built-in Git extension. It never force-pushes, and refuses a branch that has diverged from Azure DevOps. Uncommitted changes do not block it; the PR uses what is on the remote. Branches with no commits the target lacks are not offered a PR.
  • Title and description defaults: the title is the commit subject (or the branch name when there are several commits) and the description is the commit subjects, both editable.
  • Afterwards: the lists refresh, the new PR opens in the Overview, and a notification offers Open in Azure DevOps and Copy Link.
  • Not covered: work items, labels and PR templates. Set them in the web UI (default reviewers from branch policies are added by Azure DevOps). Add other reviewers after creating, see Decide and merge.

Decide and merge

PR overview: reviewers, merge readiness, a vote with Approve, and the Markdown description with its work item link

  • PR overview: status, branches, reviewers with their votes, details, the basic Markdown description and AB#123 work item links. Copy the PR link, and click a file:line in a thread to open the diff on that line.

  • Copy branch names: in the Source Control view, a repository's ... menu (or right-click the repository) has Copy Branch Name for its checked-out branch, with or without a pull request. You can also click a branch in the Overview header, or right-click a pull request and choose Copy Source Branch Name or Copy Target Branch Name, to paste it into a merge, checkout or terminal command. Adding a team as an optional reviewer from the Overview, then clicking its Optional tag to make it required

  • Add and remove reviewers on an active PR, from the Overview or the Review sidebar: Add lists the project's teams and their members right away, and typing a name searches the whole organization (pick one, then Required or Optional; people already on the PR show as Already a reviewer) the Required / Optional tag on a reviewer row switches them in place, keeping their vote (useful when a branch policy won't let you remove and re-add someone), and the x removes them (a required reviewer asks to confirm). Azure DevOps' own message is shown if you lack permission, and you are told when a branch policy keeps the reviewer on the PR.

  • Merge readiness is a summary, not a policy check: it shows required reviewers, merge conflicts, active threads and any rejection Azure reports. Complete is disabled only for conflicts, a required reviewer on Wait or Reject, or a server-reported rejection. Branch policies (minimum reviewers, builds, work items) are not evaluated, so Azure DevOps may still refuse the merge.

  • Vote with Approve, Approve with suggestions, Wait for author, Reject or Reset. The overview updates as you vote. A draft pull request: gray dashed icon, Complete blocked; Publish turns it active and the icon blue

  • Publish a draft pull request (draft to active) with the Publish button in the Overview or the Review sidebar, or from the right-click menu of the PR row. A draft cannot be completed until it is published. There is no way back to draft here.

  • Complete (choose the merge strategy), Set auto-complete or Abandon from the PR actions. Complete also asks whether to delete the source branch; auto-complete always deletes it. There is no custom merge message or work-item option. Auto-complete is asked for the merge strategy only; cancel it, or reactivate an abandoned PR, in the web UI.

A pull request with merge conflicts: red pull request icon in the list, red Merge conflicts card in the overview and Complete disabled

Conflicts are visible at a glance: a red pull request icon in the PR list, a red Merge conflicts card in the overview, and Complete disabled with the reason. Draft PRs are labelled in the list and the overview.

More features

  • Review sidebar pane: switch between the PRs on your current branches with one button per PR, vote, and post a general PR comment with Ctrl/Cmd+Enter.
  • Checkout: one click on a PR in the list checks out its source branch (your Git credentials for the remote must already work).
  • PR list: grouped by repo and by Assigned to Me, Created by Me and All Active, with conflict and Draft markers, a status bar PR count (taken at startup and sign-in, and bumped when you create a PR here) and auto-refresh of the list (and of the current branch's pull request state). Hover a PR for author, branches, status and reviewer votes; expand it for reviewers and files. Lists page in 100 at a time.
  • Opening a PR from the list that is not on a current branch shows it alone in the Changes view and Review pane until your branch changes.
  • Remotes: detects HTTPS (including user@), SSH (ssh.dev.azure.com) and legacy *.visualstudio.com remotes, including submodules and repositories opened after startup.
  • Errors: load failures show a clear reason with a Retry row instead of an empty list, and an expired session prompts one re-sign-in.
  • Open in Azure DevOps: jump from a thread or a PR to the web view whenever you need it.
  • Sign Out: run Azure DevOps PR: Sign Out from the Command Palette (your VS Code Microsoft account is not removed).
  • Light and dark themes: follows your VS Code theme.

Requirements

  • VS Code 1.90 or newer.
  • A repository hosted on Azure DevOps Services (the cloud service at dev.azure.com).
  • A Microsoft / Entra ID account with access to the Azure DevOps organization. Sign-in uses VS Code's built-in Microsoft authentication, so no personal access token is required.

The extension works alongside the built-in Git extension and detects your Azure DevOps remotes automatically.

Getting Started

  1. Open a folder that contains one or more Git repositories with Azure DevOps Services remotes.
  2. Open the Azure DevOps PR view from the Activity Bar and choose Sign In (or run Azure DevOps PR: Sign In from the Command Palette). This launches the standard Microsoft sign-in flow.
  3. Once signed in, your pull requests appear in the sidebar, grouped by category. Any open PRs for your current branch are shown automatically.
  4. Select a pull request to view its details, open file diffs, add review comments, vote, or complete it.
  5. On a feature branch with no PR, run Azure DevOps PR: Create Pull Request.

Keyboard Shortcuts

Shortcut Action
Alt+Shift+N Next unresolved comment (Changes view or a PR diff)
Alt+Shift+P Previous unresolved comment (Changes view or a PR diff)
Alt+Shift+I Insert selected code into the open comment box
Ctrl/Cmd+Enter Submit a comment

Extension Settings

This extension contributes the following settings:

  • azdoPr.autoRefreshInterval: auto-refresh interval, in seconds, for the pull request list; it also refreshes the current branch's pull request state (icons, Changes view, Review sidebar, open Overview). Default: 60. Minimum: 10.
  • azdoPr.syncNativeViewed: also mirror your reviewed marks to the Viewed checkbox in the Azure DevOps web UI (best effort). Default: true.

Known Limitations

  • Azure DevOps Services only: this release targets the cloud service (dev.azure.com). Azure DevOps Server (on-premises) is not supported, and its remotes are silently ignored.
  • Entra / Microsoft sign-in only: authentication goes through VS Code's Microsoft provider. Personal access token (PAT) sign-in is not available in this version.
  • Merge readiness covers required reviewers, merge conflicts and active threads: it does not evaluate branch policies such as a minimum number of reviewers.
  • Updates shows the push count only: pushes cannot be expanded or compared yet. Diffs always compare the merge base with the latest push; threads sit at their stored line numbers and comments on older pushes are not marked outdated.
  • Comments: they cannot be edited or deleted from VS Code, and the Overview shows threads read-only (reply and resolve happen in the diff).
  • Create Pull Request uses the checked-out branch of each repository (not an arbitrary local branch) and sets no reviewers, work items or labels. It does not apply pull request templates, so edit the description before creating.
  • Overview Markdown is a basic subset: tables, blockquotes and images are not rendered.

Telemetry

The extension sends a few anonymous events so we know whether it is actually used for reviews. Each event carries only its name and the values listed here, plus: extension version, VS Code version, operating system, UI language, and an anonymous machine ID provided by VS Code (a hash, not linked to your account). Every event except activated is sent at most once per day per machine for the same values.

  • activated: each time the extension starts (firstRun: first start after installing).
  • signed_in, diff_opened, file_reviewed, thread_resolved: the action happened, no details.
  • sign_in_failed: reason is cancelled, no_account, or error.
  • pr_opened: files is a size bucket of the changed files (<50, 50-200, 200+).
  • comment_posted: kind is line, file, reply, or general.
  • vote_cast: vote is approve, approve_with_suggestions, wait_for_author, reject, or reset.
  • pr_completed: autoComplete is true when auto-complete was set instead of completing now.
  • pr_created: draft is true when the pull request was created as a draft; repos is 1, 2-5 or 6+ (how many repositories got a pull request in that run).
  • feature_used: feature is one of change_type_filter, unresolved_filter, repo_filter, next_unresolved, insert_code, mention, set_thread_status.
  • repos_detected: repos is a bucket of Azure DevOps repos in the workspace (1, 2-5, 6+).
  • error: kind is auth, forbidden, not_found, network, timeout, server, or other. Never the message, URL, or details.
  • unsupported_remote: kind is server (an on-premises Azure DevOps Server remote). Never the host or URL.

Each event also carries your system time zone and the country it maps to (for example America/Puerto_Rico → Puerto Rico), worked out on your machine. The extension tells the analytics service (PostHog) to record the IP address as 0.0.0.0 and to skip IP geolocation, so your real IP, city, and coordinates are never stored. No organization, project, repository, pull request, file, code, comment, name, or email is ever sent.

Telemetry follows VS Code's telemetry.telemetryLevel setting: set it to off (or anything other than all) and the extension sends nothing.

What's new in 0.1.16

  • Create pull requests from VS Code. Run Create Pull Request on your current branch, in one repo or several at once, from a sidebar form with the from and into branches, a title, a Markdown description and an optional draft flag. The extension offers to publish or push the branch first.
  • The Changes view offers Create Pull Request when you are on a feature branch with no PR yet, instead of hiding.
  • See the Changelog tab for earlier releases.

Feedback & Feature Requests

Have an idea or hit a bug? Your input shapes the roadmap:

  • 💡 Request a feature: open a feature request (structured form).
  • 🐞 Report a bug: file an issue.
  • 👍 Vote on existing ideas: browse open feature requests and add a reaction or comment.
  • 💬 Ask a question: use the Q & A tab on the Marketplace listing.

License

Released under the MIT License. See the LICENSE file included with this extension.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft