Filenames are the wrong index for Claude Code @ mentions
3.24T1.5 sourceSourcegraph Blog
Source record
Published by Sourcegraph Blog (T1.5 source). The original is at https://sourcegraph.com/blog/claude-code-file-picker-symbol-ranking.
Pipeline notes
The summary and note below are generated by the signal pipeline — they are Beyond Desk’s reading, not quotations from the source.
SummaryClaude Code's @ file picker matches characters in file paths, making it difficult to locate files by the functions or symbols they contain. A fileSuggestion hook re-ranks results by code symbol rather than path.
Why it mattersSourcegraph's first-party hook addresses a real navigation pain point in Claude Code on large codebases, with a concrete and copyable pattern.

Cited by
No citations on record.
