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
I'm also having this problem, the project already has the '.gitignore' file included and didn't ignore the src directory, but now I can't reference any source code files with the @ symbol, it must have been good a few versions ago, my '.gitignore' file hasn't changed at all
It may not be related to the Git repository. I am on another computer and have not installed Git, so naturally I do not have a Git repository. However, I can still use @ to query all files in the current working directory.
On this computer, it was initialized as a Git repository and a. gitignore file was created, but no files could be searched; Of course, I deleted the Git repository, but the problem still persists
The problem has been solved, it's a problem with a tool called ripgrep (i.e. rg. exe)
This is a high-performance text search tool that not only affects @ search for the current file, but also affects loading skills
Rg.exe is located in the "%USERPROFILE%.local\share\opencode\bin" directory
OpenCode should be able to find it, but I don't know why it can't be found. Just add this path to the system PATH environment variable
The problem has been solved, but I still don't know why OpenCode can't find this program
Activity
github-actions commentedon Mar 24, 2026
This issue might be a duplicate of existing issues. Please check:
@is not listing the available files #6618:@is not listing the available files — same symptom of@mention not listing workspace fileslistky commentedon Mar 24, 2026
I'm also having this problem, the project already has the '.gitignore' file included and didn't ignore the
srcdirectory, but now I can't reference any source code files with the@symbol, it must have been good a few versions ago, my '.gitignore' file hasn't changed at allcyf007-lab commentedon Mar 24, 2026
It may not be related to the Git repository. I am on another computer and have not installed Git, so naturally I do not have a Git repository. However, I can still use @ to query all files in the current working directory.
On this computer, it was initialized as a Git repository and a. gitignore file was created, but no files could be searched; Of course, I deleted the Git repository, but the problem still persists
cyf007-lab commentedon Mar 28, 2026
The problem has been solved, it's a problem with a tool called ripgrep (i.e. rg. exe)
This is a high-performance text search tool that not only affects @ search for the current file, but also affects loading skills
Rg.exe is located in the "%USERPROFILE%.local\share\opencode\bin" directory
OpenCode should be able to find it, but I don't know why it can't be found. Just add this path to the system PATH environment variable
The problem has been solved, but I still don't know why OpenCode can't find this program
shanghai-Jerry commentedon Apr 21, 2026
复现信息
环境
复现步骤
已尝试
rekram1-node commentedon Jun 23, 2026
Automated: closing question issues.
GitHub Issues are for bug reports and feature requests only — questions / support are no longer tracked here.
If this is a bug or feature request, please open a new issue with the appropriate template.