copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

The @ function cannot recognize files created while Copilot interactive mode is active.

Open GGJdevelope opened this issue 2 months ago • 2 comments

Describe the bug

The @ function cannot recognize files created while Copilot interactive mode is active.

Affected version

0.0.343 Commit: 5847051

Steps to reproduce the behavior

  1. Type copilot
  2. Create new file
  3. Type @

Expected behavior

New file is not shown

Additional context

No response

GGJdevelope avatar Oct 18 '25 09:10 GGJdevelope

Thank you for the report, I have noticed this as well and it bothers me. Will investigate.

EvanBoyle avatar Oct 20 '25 23:10 EvanBoyle

I have been plagued by this, trying to create new screenshots to show copilot problems or examples of styling I want.

thawkins avatar Oct 29 '25 20:10 thawkins

It would be really nice if the '@' command initially worked off the cached file list, but did an on-disk search (or just used fzf) in the background and updated the list when the results were available. Having to copy/paste new paths into a prompt just isn't ideal.

This would likely solve #448 and #594 as well.

hackel avatar Dec 12 '25 18:12 hackel

I’m also affected by this issue.

When I type @ I expect the CLI to show the current, up-to-date directory and file index (including files created in my editor during the session).

If there are performance or other reasons preventing live indexing, please consider adding a slash command (for example /refresh or /reload-index) that explicitly refreshes the directory/file index.

Right now my only workaround is to exit and restart the CLI, which is disruptive.

SidStraw avatar Dec 20 '25 14:12 SidStraw