Skip to content

@ syntax for file reference not working anymore for me since few versions #3854

@rcousin-gpsw

Description

@rcousin-gpsw

Describe the bug

When typing @ with some letters from a file name (in an allowed directory), copilot doesn't autocomplete path and doesn't suggest any file. When type just @, it just suggest the current directory root and a temp folder. As soon as I start typing letters, it doesn't suggest anything anymore.

Affected version

GitHub Copilot CLI 1.0.63.

Steps to reproduce the behavior

  1. Type @ to reference a file
  2. Start typing the filename from a file in an allowed folder
  3. Copilot doesn't autocomplete anything and doesn't suggest any file

Expected behavior

Copilot should find and suggest any file which name matches the pattern in the allowed folders

Additional context

OS: Mac OS 26.3 (25D125)
CPU: Apple Silicon M2 Pro
Terminal: iTerm2
Shell: Oh-my-zsh

It's been few versions I have this this issue, at least since 1.0.61

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text input

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions