#12511·warp

Project Explorer: option to scope the file tree to the current directory/subfolder instead of always snapping to the git repo root

Author: AlorseCreated Jun 11, 2026Updated Sep 28, 2026
Labelsenhancementtriagedready-to-implementrepro:highos:macarea:workspaceneeds-mockswarp:auto-triage-review

Pre-submit Checks

Describe the solution you'd like?

I'd like a way to make the Project Explorer show my current working directory (or a manually chosen subfolder) as its root, instead of always walking up to the nearest .git and displaying the whole git repository root.

Concretely, any one of these would solve it:

  • A setting like Project Explorer root: [Git repository root | Current working directory], or
  • A right-click action on a folder such as "Set as Project Explorer root" / "Open this folder" to pin the tree to a subdirectory.

Is your feature request related to a problem? Please describe.

When my terminal cwd is a subdirectory of a git repo, the Project Explorer ignores the subdirectory and shows the repository root instead.

Example:

  • cwd = Projects/company/monorepo/apps/web/
  • Project Explorer still lists Projects/company/monorepo/ (the git root)

In large monorepos the repo root contains dozens of unrelated packages, so the tree I actually care about (apps/web) is buried and noisy. There is currently no setting to change this.

Additional context

  • Today the explorer root is computed by walking up the ancestors to the nearest git toplevel (equivalent to git rev-parse --show-toplevel), so it unconditionally snaps to the repository root regardless of how deep the cwd is.
  • Related but distinct existing requests — both are about multi-root workspaces (showing several folders at once), not about scoping a single root down to a subfolder:
    • #10558 — multiple directory roots + manual root selection independent of terminal PWD
    • #8875 — multi-root workspace like VS Code ("Add Folder to Workspace")

    This request is narrower: a single root that can follow the cwd / a chosen subfolder.

  • Warp version: v0.2026.06.03.09.49.04

Operating system (OS)

macOS

How important is this feature to you?

4

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None