@ file picker struggles with large multi-root workspaces and shared filename prefixes

Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened May 22, 2026 · closed May 26, 2026

In a VS Code workspace with many roots and hundreds of files sharing long common prefixes (e.g. DITA documentation files named c_gas_..., t_gas_..., c_fgl_..., t_fgl_... across 20+ project folders), the @ file picker in Claude Code becomes very difficult to use:

  • Matches don't always complete to the intended file
  • The shared prefix (c_gas_, t_fgl_, etc.) fills the unique budget before any disambiguating part of the name is reached
  • There's no way to narrow by folder/worktree before typing the filename

Expected: The picker should support folder-scoped filtering (e.g. @gas-topics/t_gas_...) or rank results by the currently active editor's workspace root.

Workaround: Users have to find the exact path via Ctrl+P first, then paste it into the chat manually.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗