[BUG] /command auto complete and @file auto complete do not work together
Resolved 💬 4 comments Opened Jun 11, 2025 by oneself Closed Jan 5, 2026
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [X] Other: Claude code
- Claude CLI version: 1.0.17 (Claude Code)
- Operating System: Arch Linux
- Terminal: alacritty
Bug Description
When trying to use both /command and @file, claude code will only offer completion options for the first, but not the second.
Steps to Reproduce
- Start typing a /command (e.g., /user:prd (this is a custom command I created to write a PRD)
- Optionally add some more text after the command
- Then try and refer to a file (e.g., @project_goal.txt).
Expected Behavior
I expect claude to give me a menu of files that will get filtered as a type.
Actual Behavior
The menu does not appear. There's no option to select a file from a list.
Additional Context
The reverse also does not work. If I first add a @file reference (which works) and then try to edit the start of the row to add a /command, it will not complete the /command.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗