[BUG] @ mentions don’t show files from directories added via /add-dir

Resolved 💬 2 comments Opened Aug 12, 2025 by wasd96040501 Closed Aug 12, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • Claude CLI version: 1.0.73
  • Operating System: macOS 26.0
  • Terminal: vscode

Bug Description

When adding a new directory using the /add-dir command in Claude Code, files under that newly added directory are not shown in the file list when using @ mentions.

Steps to Reproduce

  1. Run /add-dir to add a new directory.
  2. Use @ to open the file mention list.
  3. Notice that files from the newly added directory are missing.

Expected Behavior

Files from newly added /add-dir paths should appear immediately in the @ mention list without requiring a restart or manual refresh.

View original on GitHub ↗

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