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

DevOps Deck for Azure DevOps

davidw475

|
9 installs
| (1) | Free
Review and create pull requests, plan sprints, manage work items, watch pipelines with live logs, approve deployments and browse the wiki from inside VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DevOps Deck for Azure DevOps

Review and create pull requests, plan sprints, manage work items, watch pipelines with live logs, approve deployments and browse the wiki, all without leaving VS Code.

DevOps Deck is a community extension and is not affiliated with or endorsed by Microsoft.

Features

Dashboard

A sidebar with tabs for My Day, pull requests, work items, the current sprint and pipelines. It has search, filter chips, avatars and status badges, and it follows your VS Code theme. Buttons at the top open repositories and the wiki.

Pull requests tab with an expanded pull request, its checks and changed files Work items tab Sprint tab with progress, work per person and items grouped by state Pipelines tab with running and finished runs

Several projects at once: in the project picker, tick more projects of the organization and choose Show N projects. Pull requests, work items, sprints, pipelines and approvals of all of them are then listed together, each card marked with its project. Clicking a project name still switches to just that project.

Project picker with two projects ticked and pull requests of both projects in the list

My Day

The My Day tab is a short, ranked list of what needs you now: approvals waiting for you, failed pipeline runs you started, pull requests waiting for your review and work items assigned to you, with the most urgent first. Each entry says why it ranks where it does, and has quick actions such as Approve, Vote, Open run, Run again or Change state. Defer what can wait: snooze an item for a few hours, until tomorrow or next Monday, mark it done until it changes, or hide it; deferred items are listed in their own section where you can bring them back. Approvals can only be snoozed. The number of open items is shown as a badge on the view. Failed runs on your important branches rank higher; set them with azureDevOps.myDay.importantBranches.

Pull requests

  • Filters: To review, Mine and All active. Each card shows the reviewers' votes.
  • Checks: each card shows whether the required branch policies (builds, reviewers, comments, status checks) have passed, failed or are pending. Pull requests that are ready to merge (all required policies passed, no conflicts, not a draft) get a green border. Expand a card to see every policy, failing ones first, and click a build to open its run. The overview page shows the same list.
  • Native diffs: expand a card to see the changed files and open any of them in VS Code's diff editor.
  • Inline comments: read, reply, resolve and reactivate threads, and edit or delete your own comments. To start a new thread, use the + in the gutter, Add Pull Request Comment in the context menu, or Ctrl+Alt+C.
  • Code suggestions: select lines and choose Suggest a Change (Ctrl+Alt+S). The comment is prefilled with a ```suggestion block. Edit the code and save; it then appears in Azure DevOps as a suggestion the author can apply.
  • Reviewed files: check off files in the sidebar or from the diff editor's title bar, and track progress as x/y reviewed. A check mark disappears when a new push changes the file again.
  • Overview page: description, discussion, reviewers and linked work items, which you can link and unlink here. Vote (Approve, Approve with suggestions, Wait for author, Reject), complete the PR with a merge strategy of your choice, switch draft/published, or abandon it.
  • Reviewers and auto-complete: add people or groups as optional or required reviewers, remove reviewers, and set or cancel auto-complete so the PR merges as soon as all required policies pass.
  • Updates and commits: every push to the PR is listed as an update. Open the files of one update, or all changes since your last visit, in the diff editor. The overview tells you how many updates are new since you last looked. The commits of the PR are listed too.
  • Create pull requests: Create Pull Request (also in the PR tab and the status bar) prefills repository, source and target branch, a title and description from the branch's commits, and work items mentioned in the branch name or commits (feature/1234-…, #1234, AB#1234). Add reviewers, create it as a draft or with auto-complete. A branch that is not pushed yet is pushed first.

Form for a new pull request with reviewers, linked work item and auto-complete

  • Status bar: shows the pull request of the checked-out branch with the state of its required checks and approvals, plus the latest pipeline run of the branch. Without a PR it offers Create PR.
  • Checkout: switch to the source branch in your local repository.

Pull request overview with checks, reviewers, updates since the last visit and description

Work items

  • Built-in queries plus all your saved queries (My Queries and Shared Queries).
  • Change the state, assign to yourself, comment, create a branch, create a new work item, or open one by ID.
  • A detail view with an editable title, a state picker, the description and the discussion.
  • Edit fields: assign to anyone (people search), and change iteration, area, priority, severity, story points or effort, remaining and completed work, and tags. Only the fields the work item type has are shown.
  • Hierarchy: parent, children (with how many are done) and related items. Add a child task right there; it gets the same area and iteration.
  • History: who changed which field from what to what, and which links were added or removed.
  • Linked pull requests with status, repository and branch. Link more by ID or title.
  • From code: select code, or put the cursor on a comment with TODO, FIXME, HACK or BUG, and choose Create Work Item from Code (context menu or light bulb). The title comes from the comment, the description holds the code and a link to the lines in Azure Repos. A comment gets the new ID added, so it is not reported twice.

Work item with editable details, hierarchy, repro steps and discussion

Sprint

The Sprint tab shows a team's sprint: dates, working days left, progress against elapsed time, and the remaining work per person compared with their capacity (when the team plans capacity). Group the items by state, by parent backlog item or by person. Pick another team or a past or future sprint at the top.

Pipelines

  • Views: Recent, Mine, Pipelines (every definition with its latest result) and Folders (browse pipeline folders with breadcrumbs and per-folder counts).
  • Run overview: the stage graph like in Azure DevOps. Stages that run in parallel sit in the same column, and lines show the real dependsOn relations. They are read from the run's expanded YAML; for classic pipelines they are inferred from the stage times. Jobs, steps, durations and errors are listed below; running pipelines refresh automatically.
  • Logs in the overview: click a step or Log on a job to read its log next to the steps, with filtering and Follow for running steps. This works the same for finished runs. Failed steps open by themselves.
  • Approvals: stages waiting for an approval show Review; approve or reject with a comment. The Approvals filter in the Pipelines tab lists every pending approval.
  • Re-run stages: rerun the failed jobs (or all jobs) of a failed or canceled stage.
  • Tests and artifacts: the overview lists test runs and, on demand, the failed tests with error message and stack trace. Artifacts downloads a run's artifacts as zip.
  • Live logs: stream a run's output into a colored terminal.
  • Run pipeline form: pick the pipeline, a branch and optionally a commit, set runtime parameters read from the YAML (toggles, choices, numbers, text, objects) and override variables. You can also re-run or cancel runs.

Run overview with parallel stages, a stage waiting for approval and the log of a finished step

Editing pipeline YAML

Help for template: and extends: references in local pipeline files (language yaml or azure-pipelines):

  • Parameter suggestions: inside parameters: of a template reference, the parameters the template declares are suggested with their type, default and allowed values (required ones first; choices for booleans and values). After name: the allowed values are suggested. On a new line below template:, parameters inserts a block with all required parameters.

  • Templates from other repositories: file.yml@alias is resolved through resources.repositories. Azure Repos repositories are read from the server at the resource's ref (branch, tag or commit) with your usual sign-in. If a clone of the repository is open in the workspace, it is used instead, so template changes you have not pushed count (azureDevOps.yaml.preferLocalRepositories). GitHub and other external repositories are only read from a clone in the workspace.

  • Recursive: templates from other repositories open as read-only documents that know where they come from. References inside them work the same way: relative paths stay in that repository, @self is the pipeline's repository, and aliases resolve through the template's own resources.repositories and those of the files that include it. A template opened on its own finds aliases declared in other YAML files of the workspace.

  • Hover and go to definition: hover a template path to see where it is read from, its parameters and the templates it includes; hover a parameter for its type and default. Go to Definition (F12) opens the template, or jumps to a parameter's declaration.

  • Checks while you type: unknown parameters, missing required parameters, values outside values and non-boolean or non-number values are marked, as are templates that cannot be found (azureDevOps.yaml.templateDiagnostics). Values with expressions (${{ }}, $( ), $[ ]) and parameters inside ${{ if }} blocks are not checked.

  • Tasks: - task: Name@Major steps get help from the tasks installed in your organization (including Marketplace tasks), read once per organization, cached for 24 hours and refreshed in the background (Refresh Task Catalog forces it). Only files that contain a task step trigger a request.

    • Completion: task names (deprecated and retiring ones last, newest major first) with the required inputs as a snippet, majors after the @, an inputs: block, input names not yet passed (required first; inputs hidden by their visibility rule are left out) and values of choices and booleans. If Microsoft's Azure Pipelines extension is active in an azure-pipelines document, task completion is left to it (hover and checks stay).
    • Hover: the task shows its title, version, category, description, deprecation or retirement and a newer major version; an input shows its type, when it is visible and its help text.
    • Checks: tasks that are not installed, missing required inputs (only those visible with the values you wrote), unknown inputs, values outside the allowed ones, deprecated tasks, tasks Microsoft retires on 2026-11-24 (removed 2027-03-15) and newer major versions. Quick fixes add a missing input, raise the version or refresh the catalog. Steps with expressions (${{ }}, $( )) in the name or inputs: are not checked. Without a sign-in, scope or network, the task checks stay quiet. Turn parts off with azureDevOps.yaml.taskSupport, .taskDiagnostics and .taskVersionHints.
  • Pipeline Preview (button in the editor title): shows what the templates produce, without running anything: the stage graph with the dependsOn lines, and for each stage its jobs (pool, environment, strategy, conditions) and steps. Switch between two sources at the top:

    • Local expands the templates in VS Code. Templates come from local files and clones, unsaved changes included, and the preview follows your edits. Every stage, job and step links to the template file and line it comes from. ${{ }} expressions, if / elseif / else, each and insert are evaluated; runtime expressions ($[ ], $( )) and condition: are shown as written.
    • Azure DevOps lets the server expand the pipeline with the content of the file (same as Validate and Preview Expanded Pipeline), so the result is exactly what a run would use. It updates when you save.

    Runtime parameters of the pipeline can be changed in the preview, for example to see the stages with runTests turned off.

    Pipeline preview of a locally expanded pipeline with runtime parameters, the stage graph with parallel stages, and the jobs and steps of the selected stage, each linked to its template file and line

  • Pipeline Designer (Open in Designer above a template: / extends: line, Open Pipeline Designer in the editor context menu, or Designer in the pipeline preview): a form for the parameters of a template call instead of hand-written YAML.

    • Each parameter gets a control from its declaration: text, number, buttons for values, a switch for booleans. Required parameters without a value, values outside values and non-numbers are marked before anything is written. Values inside ${{ if }} and multi-line text values are shown read-only with a link to the line.
    • Object parameters get a tree form: edit keys and values, add or remove keys and list items, switch a node between text, yes/no, mapping and list. ${{ if }} / ${{ each }} keys stay keys. Form / YAML switches to the value as YAML text. Step, job and stage parameters (stepList, jobList, stageList, step, job, stage) get a YAML field with the block as it is written, comments included. Only that parameter's block is rewritten, with the file's indentation. The form rebuilds the block, so comments inside it are lost; the YAML field keeps them.
    • Update in pipeline changes only the affected lines (comments and formatting stay); the file is not saved, so undo works as usual. Values equal to the default are removed unless Write defaults is checked; Reset to defaults sets every parameter back.
    • The catalog on the left lists the templates of a repository resource at a tag or branch (or of the pipeline's own repository) and marks the ones already used. Picking a new one shows it as a dashed card in the structure strip; Insert into pipeline adds the call at the end of the chosen steps: / jobs: / stages: list. Switching the ref updates resources.repositories as well and warns when it points to a branch. Add repository… declares another repository of the project.
    • Task steps: Open in Designer also appears above - task: lines, and task steps are listed in the structure strip next to the template calls. A step's form has the task version (with a note when a newer major, deprecation or Microsoft's retirement applies), the display name and the inputs in the groups of the task (the Advanced group is collapsed unless it holds something). Inputs appear and disappear with the task's visibleRule as you change values; an input the rule hides but the file sets stays, marked, and is never removed for you. Multi-line inputs such as inlineScript are text areas that keep the block scalar header (|-). Help texts are shown as plain text. Changing the version edits only the task: line; inputs the new version does not know are listed. A step whose inputs are built with expressions is read-only with a link to the line.
    • Task catalog: the Templates / Tasks switch on the left lists the tasks of your organization by category with a chip per major version; Deprecated tasks are collapsed. Pick a task (or one of its versions), choose the steps: list to insert it into and fill the form; Insert into pipeline adds the step with the inputs that differ from their defaults. The footer shows the organization and the age of the list, ↻ reads it again, and with old data and no connection the list stays usable with an offline note. A token without the Agent Pools (Read) scope shows an error that names it. azureDevOps.yaml.taskSupport off hides all of this.
    • The YAML preview shows the pending changes with + (inserted) and ~ (changed); YAML only shows the whole file. Validate lets Azure DevOps expand the pipeline with the pending changes and lists the errors.

    Pipeline designer with the template catalog, the stages and their template calls, the parameter form of a .NET build template with two unsaved changes, the YAML preview with the inserted line marked, and a successful validation

    Object parameter of a deployment template in the designer's tree form, with nested keys, a yes/no switch, a list and an if-expression key, next to a step list parameter edited as YAML

  • Show Pipeline Templates: lists every template the file includes, recursively, with nesting, source and number of parameters; pick one to open it.

  • Validate and Preview Expanded Pipeline (button in the editor title): Azure DevOps expands the pipeline with the local content of the file, without starting a run. You see the final YAML, or the errors marked in the file. Other files, including local templates, are read from the server at the checked-out branch.

Tracing a line to its pull request

Ask "why is this line here?" and get the pull request and work items behind it, opened in the DevOps Deck panels instead of the browser.

  • Command: DevOps Deck: Trace Line to Pull Request (editor context menu or Command Palette) shows the commit of the cursor line, its pull request and the linked work items, which fill in step by step. Pick a row to open the pull request, a work item or the commit in the browser.
  • Blame hover of VS Code: the hover of VS Code's own blame (status bar entry) gets a Pull Request & Work Items link for commits of Azure Repos. Nothing is requested until you click.
  • Annotations (off by default): azureDevOps.blame.annotations adds the author, age and pull request of the cursor line to the status bar, as text after the line, or both.

It works in clones whose remote is in your organization (any of its projects), runs git blame locally and asks Azure DevOps for the pull request of the commit. Uncommitted and unpushed lines get a note instead of a request. See Known limitations.

Repositories and wiki

  • Repositories and branches: every branch with how far it is ahead of and behind the default branch, its last commit and author. Compare a branch with the default branch file by file in the diff editor, create a pull request, create or delete branches on the server, check a branch out, or clone the repository.
  • Wiki: Open Wiki Page searches the page titles of the project wiki. Enter shows the rendered page, the pencil opens it as Markdown; saving writes it back. If someone else changed the page meanwhile, saving is refused instead of overwriting their change. You can also create pages.

Branches of a repository with ahead/behind counts and actions

Watchers

Watchers check Azure DevOps in the background and tell you when something you care about happens, such as a new bug in your area, a work item moving to Resolved, a new pull request for you to review, a vote on one of yours, or a failed pipeline run on main. They have their own Watchers section in the DevOps Deck sidebar, below the dashboard. It lists every watcher with its recent events and shows a badge for new ones; from there you can create, edit, pause or delete watchers. Creating or editing one opens an editor: choose what to watch, set filters, check them with Test filter against the current data, and pick the events and actions. The editor stores the watchers in azureDevOps.watchers, in your workspace settings if watchers are already defined there and in your user settings otherwise. You can also edit that setting directly:

"azureDevOps.watchers": [
  {
    "name": "New bugs for me",
    "type": "workItem",
    "where": "[System.WorkItemType] = 'Bug' AND [System.AssignedTo] = @Me",
    "events": ["created", "changed"],
    "fields": ["System.State", "System.AssignedTo"],
    "interval": 120
  },
  {
    "name": "Reviews for me",
    "type": "pullRequest",
    "reviewer": "@me",
    "events": ["created", "pushed"]
  },
  {
    "name": "Release PRs",
    "type": "pullRequest",
    "targetBranch": "release/*",
    "events": ["created", "voted", "completed"],
    "actions": ["notify", "open"]
  },
  {
    "name": "Broken main",
    "type": "pipeline",
    "branch": "main",
    "events": ["failed"]
  }
]
Option Applies to Description
name, type all Name shown in notifications; workItem, pullRequest or pipeline
interval all Seconds between checks, at least 60 (default 300)
events all Work items: created, changed (default both). Pull requests: created (default), pushed, voted, completed, abandoned. Pipelines: failed (default, includes partially succeeded), succeeded, canceled, started
where work items Any WIQL condition; macros such as @Me and @CurrentIteration work
fields work items Report changed only when one of these fields changed; the notification then shows old → new values
repository, targetBranch, sourceBranch pull requests Repository name(s) and branches; * is a wildcard
createdBy, reviewer pull requests @me, a display name or an e-mail address
titleContains, includeDrafts pull requests Title filter; set includeDrafts to false to skip drafts
pipeline, branch pipelines Pipeline name(s) and branch of the run; * is a wildcard
requestedBy pipelines Who started the run: @me, a display name or an e-mail address
ignoreOwnChanges all Skip your own changes (default true; for pipelines false, so you hear about your own failed runs)
actions all notify (default; notification with Open and Open in Browser), open (open it in VS Code), browser, or { "command": "…", "args": ["${id}", "${url}"] } to run any VS Code command

Caution with command actions: ${title} and ${message} contain text that anyone in the project can write. Do not pass them to commands that execute text, such as workbench.action.terminal.sendSequence. Watchers defined in a workspace's .vscode/settings.json only run DevOps Deck commands (azureDevOps.*); other commands run only for watchers in your user settings.

The status bar also shows how many events you have not looked at yet. Click it, or run DevOps Deck: Show Watcher Events, to see the last 50 events. More than three events from one check are combined into a single notification.

Requests: a work item watcher runs one query per check that only returns items changed since the previous check, and loads details only when something changed. All pull request watchers together use one request per check for the list of active pull requests and compare it with the previous one. All pipeline watchers together use one request per check for the runs finished since the previous check (two if one of them wants started). When nothing has changed, a check costs one request per work item watcher plus one for all pull request watchers and one for all pipeline watchers. Watchers start from the current state when VS Code starts, so changes made while VS Code was closed are not reported. Each open VS Code window runs its own watchers.

Getting started

  1. Open a folder whose git remote points to Azure Repos. DevOps Deck detects the organization and project from dev.azure.com, *.visualstudio.com and SSH remotes.
  2. Open the DevOps Deck view in the Activity Bar.
  3. Sign in with your Microsoft account when asked.

If there is no Azure Repos remote, or you want a different project, click the project name at the top of the sidebar. You can switch organizations and pick from all of the organization's projects. The choice is saved in the workspace settings and takes precedence over the git remote.

Authentication

  • Microsoft account (default): uses VS Code's built-in Microsoft sign-in (Entra ID). If the organization belongs to a different tenant than your account, set azureDevOps.tenantId.
  • Personal Access Token: run DevOps Deck: Use Personal Access Token. The token needs these scopes: Code (Read & Write), Work Items (Read & Write), Build (Read & Execute), Wiki (Read & Write), Project and Team (Read), Identity (Read), Test Management (Read) and Agent Pools (Read, for the task catalog of the YAML editor; without it everything else works and task help stays off). It is stored in VS Code's secret storage.

Settings

Setting Default Description
azureDevOps.organization (detected) Organization name or URL, e.g. contoso or https://dev.azure.com/contoso
azureDevOps.project (detected) Project name
azureDevOps.additionalProjects [] More projects of the organization to show next to azureDevOps.project
azureDevOps.authMethod microsoft microsoft or pat
azureDevOps.tenantId Entra ID tenant, if it differs from your account's home tenant
azureDevOps.workItems.queries [] Custom WIQL queries for the work item dropdown; these replace the built-in ones
azureDevOps.refreshInterval 60 Seconds between automatic refreshes of the visible sidebar tab, paused while VS Code is not focused (0 = off)
azureDevOps.myDay.importantBranches ["main", "master", "release/*"] Branches where a failed run of yours ranks higher in My Day, besides the repository's default branch (* matches any text)
azureDevOps.pipelines.refreshInterval 10 Seconds between refreshes while a run is in progress
azureDevOps.pipelines.logPollInterval 3 Seconds between polls when streaming logs
azureDevOps.pipelines.showTimestamps false Show timestamps in pipeline logs
azureDevOps.yaml.templateDiagnostics true Check the parameters passed to template: and extends: in pipeline YAML
azureDevOps.yaml.preferLocalRepositories true Read templates of repository resources from a clone in the workspace when there is one
azureDevOps.yaml.designerCodeLens true Show Open in Designer above template: and extends: calls and - task: steps
azureDevOps.yaml.taskSupport true Completion, hover, checks and quick fixes for - task: steps (false turns all of it off)
azureDevOps.yaml.taskDiagnostics true Mark problems of - task: steps
azureDevOps.yaml.taskVersionHints true Hint when a newer major version of a task is installed
azureDevOps.blame.annotations off Show author, age and pull request of the cursor line: off, statusBar, inline or both
azureDevOps.blame.ignoreWhitespace true Skip whitespace-only commits when tracing a line (git blame -w)
azureDevOps.blame.detectCopies false Also follow lines moved from other files of the same commit (git blame -C)

Example of a custom query:

"azureDevOps.workItems.queries": [
  {
    "name": "Current sprint",
    "wiql": "SELECT [System.Id] FROM WorkItems WHERE [System.IterationPath] = @CurrentIteration('[Project]\\Team')"
  }
]

Security and privacy

  • Credentials are only ever sent to https://dev.azure.com and https://*.visualstudio.com. Requests to any other host are refused, even if a workspace's settings point elsewhere.
  • In untrusted workspaces (see Workspace Trust), the organization, project, tenant, query and watcher settings from the workspace are ignored. Tracing lines runs git and is off there.
  • Work item descriptions, comments and pull request text are written by other people. They are sanitized before they are shown: scripts, event handlers, styles, forms and non-http(s) links are removed.
  • DevOps Deck collects no telemetry. Reviewed-file check marks are stored locally on your machine.

Known limitations

  • Azure DevOps Server (on-premises) is not supported, only Azure DevOps Services.
  • Live logs arrive per step, not line by line. The public REST API only returns log lines once the agent uploads them, usually when a step finishes. Step status updates live, though. The web UI's line-by-line streaming uses an undocumented channel.
  • Reviewed-file check marks are not synced with the check marks in the Azure DevOps web UI, because that storage is not a public API. The same applies to "new since your last visit" in pull requests, which is remembered locally.
  • Stage dependencies of classic pipelines and of YAML that cannot be expanded (for example with required runtime parameters that have no default) are inferred from start and finish times, which is right for runs that have started but can only guess for stages that have not.
  • My Day finds only direct assignments: pull requests that are waiting for a team or group you belong to, and approvals assigned to a group, do not show up.
  • Watchers, saved queries, the wiki and repositories use the primary project when several projects are selected.
  • Tracing a line: the pull request is found through the commit. Whether squash, rebase and rebase-merge commits are found has not been tested against a live organization; if none is found, the pull request number in a Merged PR 123: commit message is used. Needs git and a trusted workspace; organizations configured as https://<name>.visualstudio.com do not match remotes (same as the other git features).
  • Template checks are local: template paths built from expressions (${{ }}) are not followed by hovers and checks. The Local pipeline preview evaluates them, but it is a re-implementation and can differ from Azure DevOps in edge cases (for example YAML anchors or variable templates in compile-time expressions); the Azure DevOps preview gives the exact result.
  • No code search: Azure DevOps Code Search is only served from almsearch.dev.azure.com, and DevOps Deck sends credentials to dev.azure.com and *.visualstudio.com only.

Development

Requires Node.js 22 or later.

npm install
npm run compile

Press F5 in VS Code to start an Extension Development Host. Build a .vsix with npm run package.

Run the unit tests with npm test, or npm run test:coverage to also write coverage/lcov.info. The tests use Node's built-in test runner and a small stand-in for the vscode module (src/test/vscodeStub.ts), so they run without starting VS Code.

License

MIT

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