Skip to content

Hide worktrees.noindex folders from the recent folders list - #452

Open
alex-pezarro-portswigger wants to merge 1 commit into
mainfrom
hide-noindex-recent-folders
Open

alex-pezarro-portswigger wants to merge 1 commit into
mainfrom
hide-noindex-recent-folders

Conversation

@alex-pezarro-portswigger

@alex-pezarro-portswigger alex-pezarro-portswigger commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Extensions that create a worktree for every run leave lots of worktrees.noindex folders in the new session dialog's Folder dropdown. The list is ordered by recency, so they push the real repo off the top.

  • Recent folders: skip any path containing /worktrees.noindex/. Those paths are only folded back into their repo when the branch is known, and the recent list has no branch to use. The Additional folders picker reads the same list, so they're hidden there too. Typing a path still lists worktrees.noindex folders from disk, so you can still pick one deliberately.

Checks

  • npm test passes (5158).
  • Not checked in a running board.

🤖 Generated with Claude Code

Model: claude-opus-5-5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant