Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Azure DevOps PR CruncherNew to Visual Studio Code? Get it now.
Azure DevOps PR Cruncher

Azure DevOps PR Cruncher

Koen Segers

|
1 install
| (0) | Free
Review and manage Azure DevOps pull requests directly in VS Code - inline comments, diff views, and thread management
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Azure DevOps PR Cruncher

Review and manage Azure DevOps pull requests directly in VS Code - just like the GitHub Pull Requests extension!

VS Code Marketplace License: MIT

Features

Pull Request Browser

Browse all active pull requests in a dedicated sidebar. See PR title, author, and status at a glance.

Inline Comments

View and interact with PR comments directly in your code editor using VS Code's native comment UI - the same experience as the GitHub PR extension.

Thread Status Management

Set thread status with a single click:

  • Active (Red) - Needs attention
  • Pending (Yellow) - Waiting for something
  • Resolved (Green) - Issue fixed
  • Won't Fix (Green) - Won't be addressed
  • Closed (Green) - Thread closed

Diff Views

When you checkout a PR branch:

  • Changed Files - View cumulative diff of all changes
  • Commits - Browse individual commits with per-commit diffs

Color-Coded Decorations

Comments are highlighted in the editor and minimap:

  • 🔴 Red - Active comments that need attention
  • 🟡 Yellow - Pending comments
  • 🟢 Green - Resolved/Closed comments

Auto-Detection

The extension automatically detects your Azure DevOps organization, project, and repository from your git remote URL. No manual configuration needed!

Secure Credential Storage

Your Personal Access Token (PAT) is stored securely in your operating system's credential store:

  • macOS: Keychain
  • Windows: Credential Manager
  • Linux: libsecret

Getting Started

1. Install the Extension

Install from the VS Code Marketplace or search for "Azure DevOps Pull Requests" in the Extensions view.

2. Configure Connection

  1. Open a folder containing a repository from Azure DevOps
  2. Click the Azure DevOps PR icon in the activity bar
  3. Click "Configure" when prompted
  4. Your browser will open to create a Personal Access Token (PAT)
  5. Create a PAT with Code: Read & Write scope
  6. Paste the PAT when prompted in VS Code

That's it! The extension will automatically detect your organization, project, and repository.

Creating a Personal Access Token (PAT)

  1. In Azure DevOps, click your profile icon → Personal access tokens
  2. Click + New Token
  3. Give it a name (e.g., "VS Code Extension")
  4. Set expiration as needed
  5. Under Scopes, select:
    • Code: Read & Write
  6. Click Create and copy the token

Usage

Viewing Pull Requests

  1. Click the Azure DevOps PR icon in the activity bar
  2. Browse the list of active pull requests
  3. Click a PR to see its details

Working with Comments

  • Comments appear inline in files that are part of the PR
  • Click the + button in the gutter to add a new comment
  • Click on existing comments to reply or change status
  • Use the status button to set: Active, Pending, Resolved, Won't Fix, or Closed

Viewing Diffs

  1. Checkout a PR branch (right-click PR → Checkout)
  2. The "Changed Files" and "Commits" views appear
  3. Click any file to see the diff
  4. Click a commit to see files changed in that commit

Commands

Command Description
Azure DevOps PR: Configure Set up your Azure DevOps connection
Azure DevOps PR: Refresh Refresh all views
Azure DevOps PR: Checkout PR Checkout a pull request branch
Azure DevOps PR: Open in Browser Open PR in Azure DevOps web

Settings

Setting Description Default
azureDevOpsPR.showCommentDecorations Show inline comment decorations true
azureDevOpsPR.showResolvedComments Show resolved comments true
azureDevOpsPR.refreshInterval Auto-refresh interval in seconds 30

Requirements

  • VS Code 1.85.0 or higher
  • Git repository with Azure DevOps remote
  • Azure DevOps Personal Access Token with Code Read & Write permissions

Known Issues

  • Comments on deleted files may not display correctly
  • Large PRs with many files may take longer to load

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

License

MIT License - see LICENSE for details.

Acknowledgments

Inspired by the excellent GitHub Pull Requests extension.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft