Skip to content

Add "Copy Path" to worktree #283359

@olllayor

Description

@olllayor

Feature Request

In the Source Control view, under the Worktrees section, it would be very helpful to have a context menu option (right-click on a worktree) to "Copy Path" (or "Copy Full Path") of the worktree directory.

Why this is useful:

  • When working with multiple Git worktrees, users often need to quickly copy the full filesystem path of a specific worktree (e.g., to open it in a terminal, another tool, or share it).
  • Currently, the path is visible but not easily copyable without manual selection or external commands.
  • This would improve workflow efficiency for multi-worktree setups.

Example screenshot/context:
https://pbs.twimg.com/media/G73zPMMXEAAU2gi?format=jpg&name=medium

This aligns with recent improvements to Git worktree support in VS Code.

Thank you!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions