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
@ file autocomplete breaks on paths containing spaces #2731
Autocomplete for @ file references doesn't seem to work for navigating into a folder with a space in the path.
Affected version
GitHub Copilot CLI 1.0.27
Steps to reproduce the behavior
Initial condition: A file exists at c:\foo bar\file.md
Type @c:\foo in the prompt
Autocomplete suggests @c:\foo bar\ (a folder with a space in its name)
Press Tab to complete the path segment
Press Backspace to remove the space and continue navigating
Expected behavior
Autocomplete continues showing the folder's contents, allowing further navigation into the folder (e.g., to select file.md).
Actual behavior
The autocomplete menu disappears and path resolution stops. The space in "foo bar" terminates autocomplete for the @ file reference. There appears to be no way to use autocomplete to navigate into files inside directories whose names contain spaces. (Quoting the path from the beginning doesn't trigger autocomplete at all.)
This appears to be resolved as of GitHub Copilot CLI v1.0.106. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.
Activity
copilot-cli-bot commentedon Nov 6, 2026
This appears to be resolved as of GitHub Copilot CLI v1.0.106. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.