Skip to content

[FEATURE] Add --worktree support for parallel sessions in VS Code (same as Agent View in VSCode does) #69554

Description

@JohannesMilke

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

The VSCode plugin for Claude is not yet supporting the option to create worktrees.
Please add VS Code extension: Add --worktree support for parallel sessions

Allow each Claude Code conversation tab/window in VS Code to run in a separate Git worktree, like the CLI does with claude --worktree <name>. This enables multiple agents to work on the same codebase simultaneously without conflicts, and create separate PRs per feature.

Currently all VS Code sessions operate on the same main branch. The CLI already supports this perfectly—the extension just needs to expose it.

Proposed Solution

Be able to choose for each session in VSCode Claude if it should work in a separate worktree or not.
And show when a session is completed or still processing.

Alternative Solutions

No response

Priority

Critical - Blocking my work

Feature Category

Interactive mode (TUI)

Use Case Example

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions