You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@ symbol completely fails to reference files in any directory on Windows (v1.15.12) #29859
When using the @ symbol to reference files in OpenCode TUI, no files are found at all in any directory on the system. The autocomplete dropdown only shows subAgent list without any file suggestions.
This is not a drive-specific issue - it occurs consistently across all directories and drives on the same machine.
Plugins
No response
OpenCode version
1.15.12
Steps to reproduce
Open PowerShell/Terminal
Navigate to any directory (tested on multiple drives and paths)
Launch OpenCode: opencode
In the chat input, type @
Observe: No file suggestions appear, only subAgent list
It's very strange; sometimes it can list files normally, and sometimes it can't. I remember it worked in version 1.16.x, but now it doesn't work in version 1.17.3.
Find rg.exe (many development software come with this tool, such as VSCode. You can use a global search tool like Everything to search for it. If you can't find it, download one)
Copy rg.exe to the directory %USERPROFILE%\.local\share\opencode\bin , and set this directory in the environment variables
Activity
github-actions commentedon May 29, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is different from the above, please add details explaining how it differs.
LOYINuts commentedon Jun 11, 2026
same
joesdu commentedon Jun 12, 2026
It's very strange; sometimes it can list files normally, and sometimes it can't. I remember it worked in version 1.16.x, but now it doesn't work in version 1.17.3.
wuhao2343 commentedon Jun 19, 2026
I have found a solution:
%USERPROFILE%\.local\share\opencode\bin, and set this directory in the environment variables