File Autocomplete Broken: '@' Trigger Fails on Windows
Bug Description File autocomplete is not working anymore in every project, when I type '@' I am just getting general-purpose agent suggestion. I'm on windows. current version is 1.0.62.
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 1.0.62
- Feedback ID: cf36bc24-e8b1-47e4-87b1-885180379c85
Errors
[{"error":"Error: Command failed: tasklist | findstr /I \"Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\"\nFINDSTR: Cannot open Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\r\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at i7 (file:///C:/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:865:5108)\n at Tt (file:///C:/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1346:1937)\n at file:///C:/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1896:7279\n at async file:///C:/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1897:1485\n at async Promise.all (index 12)\n at async Kw0 (file:///C:/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1897:1444)","timestamp":"2025-07-29T16:09:56.351Z"},{"error":"Error: spawn /c/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T16:09:56.365Z"},{"error":"Error: spawn /c/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T16:10:11.611Z"},{"error":"Error: spawn /c/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T16:10:11.612Z"},{"error":"Error: spawn /c/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T16:10:11.896Z"},{"error":"Error: spawn /c/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T16:10:14.166Z"},{"error":"Error: spawn /c/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T16:10:14.616Z"},{"error":"Error: spawn /c/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T16:10:15.712Z"},{"error":"Error: spawn /c/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T16:10:18.684Z"},{"error":"Error: spawn /c/Users/aarya/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp
Note: Error logs were truncated.
This is what I am getting with the @ command
Also, the created agents are not appearing with the '/agents' command
Even I am facing the same issue and need proper updates on this. It is very frustrating to manually add the path for files that need to be added to the context
Thanks for the report! Are you using WSL or the native windows build?
Same behavior. I'm using native windows build.
Closing as duplicate of https://github.com/anthropics/claude-code/issues/4692
We'll use that as the main ticket for this issue.
Check this out, it may temporarily fix the issue
https://github.com/anthropics/claude-code/issues/4626#issuecomment-3133262704
@sid374 I'm using native windows build. And thanks, will refer to the given issue ticket.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.