@-file references with spaces in the path are not linked
Status Open
Maintainer reply None cached
Activity 0 comments · opened Jul 23, 2026
Description
When a file path contains spaces, an @-quoted file reference is not rendered as a working clickable link. It shows as plain text instead of the blue linked style, and clicking it does nothing.
Example
@operations/Trading/0. Ad hoc scripts/zpysinfo-compiler.py
The parser appears to stop the path at the first space (after 0.), so the remainder (Ad hoc scripts/...) is treated as separate plain text and the reference never resolves to the actual file.
Expected behavior
The full path, including spaces, should be recognized and rendered as a working file link.
Actual behavior
Only the portion up to the first space is considered; the reference is not linked and is not clickable.
Notes
- The same file references correctly when the path has no spaces (e.g. after renaming to a space-free path), which confirms spaces are the trigger.
Environment
- Claude Code running in the VSCode extension
- OS: Windows 11 Pro (10.0.26200)