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
Context adding with @ and using tab-complete does not support files with space in path #19152
What was done
Have a file with a space or multiple spaces in the path. Use @ to add a file for context, attempt to type the name of the file or use auto-complete past a path with a space. eg, I have the following file: "Assets/Art/Models/Car Kit/GLB Format/car-model.glb".
What was seen
Pressing Tab after each directory works correctly until the Car Kit path, and then tab complete stops without using syntax highlighting. eg, @Assets then Tab shows "@Assets/Art", then pressing Tab and arrow down shows "@Assets/Art/Models" then Tab and down arrow again shows "@Assets/Art/Models/Car Kit" but pressing Tab again just stops the tab-complete.
When trying to type out the file path, it similarly stops working as soon as the user presses space, eg @Assets/Art/Models/Car and then as soon as space is pressed, it ends the process.
What was expected
@ for context should allow users to add files with spaces in path, both by typing it, and by using tab-complete.
Activity
skainguyen1412 commentedon Mar 26, 2026
Hi @rekram1-node, I’d be happy to work on this issue if that’s okay.
fix: allow spaces in file paths during @ tab-completion (anomalyco#19152
skainguyen1412 commentedon Mar 27, 2026
Hi @rekram1-node @srsobieraj , I’ve finished the fixes. Could you take a look at them?
srsobieraj commentedon Mar 29, 2026
I'm not able to test the fix, but reading your PR notes it sounds like it functions as intended
skainguyen1412 commentedon Mar 30, 2026
Hi @rekram1-node, feel free to let me know if anything needs to be changed!
github-actions commentedon Jul 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.