Azure DevOps PR Integration
View, review, and manage Azure DevOps pull requests without leaving VS Code.

Features
- Pull request dashboard — every active PR in your repository, with full detail (description, reviewers, comment threads) side by side, similar to the Azure DevOps web UI. Light, dark, and system themes.
- Build status — see whether the PR's pipeline validation is succeeding, failing, or still running.
- Activity Bar view — a Pull Requests panel with a badge showing how many need your review (or are active), a proactive notification the first time a PR starts waiting on you, and reviews-needed PRs sorted to the top.
- Files Changed — browse every file touched by the PR's latest iteration and open a real VS Code diff editor for any of them. Mark files as reviewed with a local-only checkmark to track your own progress.
- Comment anywhere — reply to existing threads, or start brand-new ones, from the dashboard, directly in the editor via VS Code's native comment widget while reviewing locally, or right from the diff view.
- Edit Remotely — arms every real write to Azure DevOps: voting on the PR (Approve, Approve with suggestions, Reject, Wait for author, reset) and changing a comment thread's status (Active, Fixed, Won't Fix, By Design, Closed, Pending). Off by default, so nothing is sent to Azure DevOps by accident.
- Resolved Locally — a personal, per-workspace checklist for working through comments; never touches the actual thread on Azure DevOps.
- Local review mode — gutter avatar markers and precise highlighted ranges for a PR's comments in your own source files.
- View original code — a foldable snapshot of exactly what a comment was posted against, resolved to the specific PR iteration, so it stays accurate even after you've edited the file.
See ROADMAP.md for what's planned next, including support for GitHub, GitLab, and Bitbucket.
Requirements
A Microsoft account with access to the Azure DevOps organization (recommended), or an Azure DevOps personal access token as a fallback. Code (Read) scope is enough to browse PRs; Code (Read & Write) is needed to reply to comments or change their status.
Setup
- Open the folder containing your Azure DevOps repo's local git clone — the extension automatically detects the organization, project, and repository from that folder's
origin remote (HTTPS or SSH). If you're not in a git-backed folder, set devopsPrIntegration.organization, devopsPrIntegration.project, and devopsPrIntegration.repository in your VS Code settings instead.
- Open the Azure DevOps PRs panel from the Activity Bar, or run DevOps PR Integration: Open Pull Request Dashboard from the Command Palette, then click Sign in with Microsoft. This reuses VS Code's built-in Microsoft account sign-in — no separate app registration or token needed.
- If you'd rather use a personal access token instead, run DevOps PR Integration: Set Personal Access Token (fallback).
The dashboard header shows which repository is currently active and whether it was auto-detected or came from settings.
Extension Settings
This extension contributes the following settings, used only as a fallback when the repository can't be auto-detected from your workspace's git remote:
devopsPrIntegration.organization — Azure DevOps organization name (the part after dev.azure.com/).
devopsPrIntegration.project — Azure DevOps project name.
devopsPrIntegration.repository — Azure DevOps repository name.
Commands
DevOps PR Integration: Open Pull Request Dashboard
DevOps PR Integration: Sign in with Microsoft
DevOps PR Integration: Set Personal Access Token (fallback)
DevOps PR Integration: Clear Personal Access Token
DevOps PR Integration: Stop Reviewing Pull Request Locally
DevOps PR Integration: Refresh Pull Requests View
DevOps PR Integration: Buy Me a Coffee
Release Notes
See CHANGELOG.md for the full history.
| |