opencode icon indicating copy to clipboard operation
opencode copied to clipboard

`@` is not listing the available files

Open flexdinesh opened this issue 1 week ago • 5 comments

Description

I'm coming back to opencode after a few weeks. @ used to autocomplete available files in the dir. It's not doing that anymore. It's only showing available agents.

In my dir, I have .ai/prompts/init.md. I am not able to lookup that filepath in the tui input.

Image

OpenCode version

1.0.223

Operating System

macOS 26.1

Terminal

Ghostty

flexdinesh avatar Jan 02 '26 04:01 flexdinesh

This issue might be a duplicate of existing issues. Please check:

  • #2772: File search via @ symbol is very slow in large projects, possibly due to lack of debounce
  • #3734: CJK characters break some features like @ mentions
  • #5820: Autocomplete dropdown conflicts with permission dialog (related to autocomplete functionality)

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Jan 02 '26 04:01 github-actions[bot]

I just checked in other projects. @ works and shows up file path suggestions in other projects. For some reason it's not working in this particular project. If it helps, this project has not be initialised as a git repo yet.

flexdinesh avatar Jan 02 '26 05:01 flexdinesh

I initialised the project into a git repo and now the files autocomplete when using @. Is this by design?

flexdinesh avatar Jan 05 '26 02:01 flexdinesh