Skip to content

[BUG] [CORE] : Can't mention hidden file even it's not in .gitignore #33976

Closed as not planned

Description

@iputuanggak

Description

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

Image Image Image

Operating System

Windows 11

Terminal

Windows Terminal (Windows PowerShell, Command Prompt)

Activity

  1. github-actions commented on Jun 25, 2026

    @github-actions
    Contributor

    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.

  2. 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
  3. iputuanggak commented on Jun 29, 2026

    @iputuanggak
    Author

    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.

  4. github-actions commented on Aug 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions