Adding @ to prompt hangs gemini-cli
What happened?
when @ is used in any form console stops repsponding
What did you expect to happen?
continue to work
Client information
- CLI Version: 0.1.5
- Git Commit: bf873a1
- Operating System: win32 v22.17.0
- Sandbox Environment: no sandbox
- Model Version: gemini-2.5-flash
- Memory Usage: 143.8 MB
Login information
No response
Anything else we need to know?
No response
Attempting to repro-- does it stop responding after pressing enter? Or does typing @ immediately cause issues?
Wondering if related to #2178
It stops right after it's typed or pasted. It also translates at to @ in a copy and past sitation, for me from a F12 dev Web console
Do you have a large number (>10,000) files in the directory or subdirectories? you can try improving this by setting (see #1290)
in ~/.gemini/settings.json
"fileFiltering": {
"respectGitIgnore": true,
"enableRecursiveFileSearch": false
}
I did not know about that limitation so it could be that I was at the beginning of my project folder
Found possible duplicate issues:
- #2560: (0.9029418230056763)
- #3388: (0.9062623977661133)
- #2758: (0.9056376218795776)
- #4788: (0.9032012224197388)
- #1652: (0.9012849599505953)
- #2482: (0.9012785226487677)
We've overhauled how autocomplete was done resolving this issue. Please let us know if you still see this issue.