Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Pinned Task RunnerNew to Visual Studio Code? Get it now.
Pinned Task Runner

Pinned Task Runner

Feri Jay

| (0) | Free
Run Task picker with real pinning — pinned tasks are lifted out of the recents list instead of being duplicated.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pinned Task Runner

A drop-in replacement for VS Code's Tasks: Run Task picker that adds real pinning. When you pin a task it moves into a loud ★ Pinned section at the top and is removed from the "Recently used" list — so it never shows up twice.

Why

VS Code's built-in Run Task picker only has a "recently used" section — there is no native pinning, and there is no way to keep a task from re-appearing in recents. This extension fixes that.

Features

  • ★ Pinned section at the top, always visible.

  • Pinned tasks are stripped out of Recently used (no duplicates).

  • Pin / unpin inline with the pin icon on each row.

  • Pins are stored per workspace.

  • Configurable recents length (pinnedTaskRunner.maxRecent, default 5).

  • Reads each task's own icon/color/detail straight from .vscode/tasks.json (the same fields VS Code uses for the task's terminal tab icon) and renders them in the picker, e.g.:

    {
      "label": "Build",
      "type": "shell",
      "command": "npm run build",
      "icon": { "id": "tools", "color": "terminal.ansiBlue" },
      "detail": "Compiles the TypeScript sources",
    }
    

    Tasks without an icon fall back to a section-appropriate default (pin / history / gear).

Keybinding

Ships bound to a cmd+r cmd+r chord. To match the exact chord you use, open Keyboard Shortcuts, search pinnedTaskRunner.run, and rebind. To fully replace the built-in, also rebind workbench.action.tasks.runTask to something else (or remove it).

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