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
[BUG] [CORE] : Can't mention hidden file even it's not in .gitignore #33976
Opencode used to be able to mention hidden file. But recently, it can't mention hidden file. It's hard for us to refer to a hidden file, adjust or mention skill file (because it's inside .agents/ folder), etc. Fix this issue will be helpful for us. Thank You!
note: currently skill is still can be used with /skill command. But be able to mention @ it would be useful.
Plugins
no plugin or MCP
OpenCode version
v1.17.11
Steps to reproduce
Try to mention @ hidden file or file inside hidden folder with opencode (Desktop or TUI)
Screenshot and/or share link
Operating System
Windows 11
Terminal
Windows Terminal (Windows PowerShell, Command Prompt)
If your issue is specifically about the @ file autocomplete not listing hidden files/folders, it may be related to the same root cause. Please check the above issues and consider adding a comment there if applicable.
changed the title [-][BUG] [CORE] : Can't mention hidden file[/-][+][BUG] [CORE] : Can't mention hidden file even it's not in .gitignore[/+]on Jun 29, 2026
I've tried .ignore solution, and I think it's not good in DX (developer experience) because We must set it for every project. That's why I tried to fix it and create a PR #34000 So by default It's capable to mention hidden file as long as it's not in .gitignore.
This issue might be a duplicate of existing issues. Please check:
If your issue is specifically about the @ file autocomplete not listing hidden files/folders, it may be related to the same root cause. Please check the above issues and consider adding a comment there if applicable.
Activity
github-actions commentedon Jun 25, 2026
This issue might be a duplicate of existing issues. Please check:
@mention limitation for dot-directoriesIf your issue is specifically about the
@file autocomplete not listing hidden files/folders, it may be related to the same root cause. Please check the above issues and consider adding a comment there if applicable.[-][BUG] [CORE] : Can't mention hidden file[/-][+][BUG] [CORE] : Can't mention hidden file even it's not in .gitignore[/+]iputuanggak commentedon Jun 29, 2026
I've tried
.ignoresolution, and I think it's not good in DX (developer experience) because We must set it for every project. That's why I tried to fix it and create a PR #34000 So by default It's capable to mention hidden file as long as it's not in .gitignore.github-actions commentedon Aug 29, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.