claude-code - 💡(How to fix) Fix [Bug] @ autocomplete loses sibling repos after a file edit in multi-repo workspace

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fix / Workaround

Workaround / scope: Manually typing a full path to a file in another repo still seems to load the correct file - but autocomplete no longer surfaces those files.

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description Summary: In a multi-repo workspace, the @ file-reference autocomplete narrows its scope to a single repo after Claude edits a file in that repo, hiding files from sibling repos for the rest of the session. Manual full-path references still appear to work, only autocomplete is affected.

Setup:

  • Parent folder containing several sibling git repositories, each its own repo.
  • One root CLAUDE.md in the parent folder, plus one CLAUDE.md in each repo.
  • Opened the parent folder in Claude Code to allow cross-repo changes.

Steps to reproduce:

  • Open the parent folder. Type @ - autocomplete lists files across all repos with full paths (repo1/folder/file, repo2/folder/file).
  • Have Claude edit a file in one repo (e.g. repo1). Note: reading a file does not trigger this, only modifying one does.
  • After the edit, type @ again.

Expected: Autocomplete still lists files from all repos with full paths.

Actual: Autocomplete shows only files from the just-edited repo, with paths relative to that repo (folder/file instead of repo1/folder/file). Autocomplete for other repos stops working for the rest of the session.

Workaround / scope: Manually typing a full path to a file in another repo still seems to load the correct file - but autocomplete no longer surfaces those files.

Environment Info

  • Platform: darwin
  • OS: macOS Tahoe 26.2
  • Terminal: Apple_Terminal
  • Version: 2.1.152
  • Feedback ID: 81c19ae7-5496-40fd-bb98-ac1c801fe4f9

Errors

[]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING