Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Hunk StepperNew to Visual Studio Code? Get it now.
Hunk Stepper

Hunk Stepper

Toolsmith Labs

| (0) | Free
Step through every git hunk across all changed files in your repositories with one shortcut.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Hunk Stepper

Step through every git hunk across all modified, added, renamed, deleted, and untracked files in your repositories with one shortcut.

What It Does

VS Code's built-in Next Change shortcut only steps within a single file, forcing you to open every modified file from Source Control to review your work. Hunk Stepper scans all changes across every repository in your workspace and lets you step continuously from hunk to hunk across file boundaries.

  • Steps forward (ctrl+alt+]) and backward (ctrl+alt+[) across all hunks in working tree vs HEAD (or unstaged only / staged only), opening each file in a normal editor and revealing the hunk.
  • Shows a live status bar HUD (Hunk 3/17 · src/a.ts) that opens a searchable quick pick of every hunk when clicked.
  • Highlights the current hunk briefly so your eyes land directly on the change.
  • Re-diffs edited files after a short debounce (and flushes before stepping) so line positions stay accurate even as you edit.
  • Handles renames, untracked files, CRLF, spaces and Unicode in paths, multi-root workspaces, binary files (skipped with a note), and deleted files (opened read-only at HEAD or skipped with a note).
  • Strictly read-only: never stages, unstages, reverts, discards, or writes to your repository. Changes are read with the plumbing commands git diff-index and git diff-files, so the index is never refreshed or rewritten and no index.lock is taken.

Features (Free vs Pro)

Feature Free Pro
Next / Previous hunk across all changed files Included Included
Start Review, Refresh, and Hunk Quick Pick Included Included
Status bar HUD and temporary hunk line highlight Included Included
Working tree vs HEAD, staged only, or unstaged only Included Included
Multi-root and multi-repository support Included Included
Compare against any branch, tag, or commit (with merge-base PR mode) Upgrade prompt Included
Review checklist (mark hunks reviewed, persist per hunk hash, optional skip) Upgrade prompt Included
File include and exclude glob filters Upgrade prompt Included
Open side-by-side diff for the current hunk Upgrade prompt Included

Commands

  • hunkStepper.startReview (Hunk Stepper: Start Review): Refreshes changes and jumps to the first hunk.
  • hunkStepper.nextHunk (Hunk Stepper: Next Hunk, ctrl+alt+]): Moves to the next hunk across files.
  • hunkStepper.prevHunk (Hunk Stepper: Previous Hunk, ctrl+alt+[): Moves to the previous hunk across files.
  • hunkStepper.refresh (Hunk Stepper: Refresh): Re-scans all repositories.
  • hunkStepper.showHunks (Hunk Stepper: Show Hunk Picker): Opens the quick pick of all hunks.
  • hunkStepper.compareRef (Hunk Stepper: Compare Against Branch/Ref (Pro)): Compares the working tree against a branch, tag, or commit (direct or merge-base). Refs such as @{u} and HEAD@{1} work. The ref is resolved before it is applied; an unknown ref shows one error and keeps the current comparison.
  • hunkStepper.toggleReviewed (Hunk Stepper: Toggle Current Hunk Reviewed (Pro)): Marks or unmarks the active hunk as reviewed.
  • hunkStepper.toggleSkipReviewed (Hunk Stepper: Toggle Skip Reviewed Hunks (Pro)): Toggles skipping reviewed hunks while stepping. The choice is kept in VS Code workspace state, so no settings file is written.
  • hunkStepper.clearReviewed (Hunk Stepper: Clear Reviewed Checklist (Pro)): Clears saved review checkmarks for the workspace.
  • hunkStepper.openDiff (Hunk Stepper: Open Side-by-Side Diff for Current Hunk (Pro)): Opens VS Code's side-by-side diff for the current hunk.
  • hunk-stepper.enterLicense (Hunk Stepper: Enter License Key): Activates a Pro license key in VS Code SecretStorage.

Settings

  • hunkStepper.mode ("all" | "unstaged" | "staged", default "all"): Changes to include when comparing against HEAD.
  • hunkStepper.order ("path" | "status", default "path"): Order of changed files (path or git status).
  • hunkStepper.wrap (boolean, default true): Wrap around when stepping past the last or first hunk.
  • hunkStepper.deletedFiles ("open" | "skip", default "open"): Open deleted files read-only at HEAD or skip them with a note.
  • hunkStepper.mergeBase (boolean, default false): Pro. Default to git merge-base when comparing against a branch/ref.
  • hunkStepper.skipReviewed (boolean, default false): Pro. Default for skipping hunks marked as reviewed while stepping. The toggle command overrides it per workspace until this setting is changed.
  • hunkStepper.includeGlobs (string[], default []): Pro. Only include files matching at least one glob.
  • hunkStepper.excludeGlobs (string[], default []): Pro. Exclude files matching any glob.
  • hunk-stepper.apiBaseUrl (string, default ""): Override the licensing API base URL (must use https://, machine-scoped).
  • hunk-stepper.webBaseUrl (string, default ""): Override the web storefront base URL (must use https://, machine-scoped).

Limitations

  • Mode-only changes (for example chmod +x) have no hunks and are not stepped.
  • Conflicted files are stepped in all mode (diff against HEAD, including conflict markers). In staged and unstaged modes git reports them as unmerged, so they are skipped.
  • Copies are not detected; a copied file appears as an added file. Renames are detected.
  • Submodules and nested repositories are skipped.
  • Files with more than 20,000 changed lines, and untracked files over 5 MB, are skipped with a one-time note, as are untracked files that cannot be read. Every git command is stopped after 30 seconds; a file whose diff does not finish in time is skipped the same way. If an edit pushes a file over the limit, its previous hunks are kept and the note is shown.
  • Untracked files are treated as binary when a NUL byte appears in their first 8 KB.
  • Git runs with your repository's own configuration, so filters set up in the repository (for example clean and smudge filters) run as they do in normal git usage. External diff drivers and textconv are disabled. The extension only runs git in trusted workspaces.

Privacy and Data Handling

Data Where Retention
Repository diffs and file paths Read locally via git in memory Not stored remotely
Reviewed hunk hashes Local VS Code workspaceState (Pro checklist) Until cleared
License key, product ID, machine ID hash Sent to licensing API (hunk-stepper.apiBaseUrl) on Pro activation and refresh Active license lifetime
Telemetry None (collectsTelemetry is false, dataRetentionDays is 0) Not applicable

Offline Behaviour

All free and Pro diffing, stepping, checklist, and side-by-side diff features run locally with zero network requests. Paid licenses are verified offline using the bundled Ed25519 public key with a 14-day grace period.

Workspace Trust

Git execution is disabled in untrusted workspaces. Grant workspace trust to enable Hunk Stepper.

Pricing

Hunk Stepper is free for cross-file hunk stepping, the HUD, and the hunk quick pick. Pro adds branch/ref comparison with merge-base, the review checklist, file glob filters, and side-by-side diff.

  • Pro: $4/month or $36/year
  • All Access (every Toolsmith Labs extension): $12/month or $99/year

View plans and buy. After purchase, sign in to your account to copy your license key, then run Hunk Stepper: Enter License Key.

Support

Report issues or request help at github.com/toolsmith-labs/support. For billing or license questions, email jashambaliya05@gmail.com.

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