[BUG] Reference files with @ isn't working
Environment
- Claude CLI version: 1.0.83
- Operating System: Windows 11
- Terminal: Git Bash for Windows and PowerShell 7
Bug Description
Per official docs Reference a single file, using @src/path/to/file.ts should work, but it doesn't. When I type @ the file picker drops down and doesn't include the src folder. Tested it in multiple terminals, in and out of IDEs, and even downgraded to version 1.0.81, but on luck.
Steps to Reproduce
- start claude code
- type
@and observe the file picker - verify that
srcisn't listed and won't autocomplete
Expected Behavior
src should appear in the file picker and tab completion should work all along the file path until I ultimately select the file.
Actual Behavior
Described above - src isn't even listed.
Additional Context
<img width="169" height="246" alt="Image" src="https://github.com/user-attachments/assets/4bbc3410-6c3d-4c67-8d4a-f545f6f332c5" />
<img width="148" height="132" alt="Image" src="https://github.com/user-attachments/assets/c8f76ad7-237d-4ef3-be2b-bc6e8d136586" />
ls -la
total 228
drwxr-xr-x 1 Kyle 197121 0 Aug 17 19:34 ./
drwxr-xr-x 1 Kyle 197121 0 Aug 17 19:03 ../
drwxr-xr-x 1 Kyle 197121 0 Aug 17 19:34 .claude/
drwxr-xr-x 1 Kyle 197121 0 Apr 21 18:54 .cursor/
-rw-r--r-- 1 Kyle 197121 319 Mar 9 09:17 .editorconfig
drwxr-xr-x 1 Kyle 197121 0 Aug 17 19:42 .git/
-rw-r--r-- 1 Kyle 197121 112 Jul 26 21:39 .gitignore
-rw-r--r-- 1 Kyle 197121 21 Oct 31 2024 .npmrc
-rw-r--r-- 1 Kyle 197121 7 Dec 14 2024 .nvmrc
drwxr-xr-x 1 Kyle 197121 0 Mar 9 09:16 .vscode/
-rw-r--r-- 1 Kyle 197121 10927 Apr 4 2024 Book1.xlsx
-rw-r--r-- 1 Kyle 197121 2702 Aug 17 19:11 CLAUDE.md
drwxr-xr-x 1 Kyle 197121 0 Aug 17 16:28 dist/
-rw-r--r-- 1 Kyle 197121 12661 Apr 18 20:27 esbuild.config.mjs
-rw-r--r-- 1 Kyle 197121 5803 Mar 9 15:33 eslint.config.mjs
drwxr-xr-x 1 Kyle 197121 0 May 3 22:09 files/
-rw-r--r-- 1 Kyle 197121 1100 Mar 2 2024 LICENSE
-rw-r--r-- 1 Kyle 197121 1798 Apr 18 20:26 manifest.json
drwxr-xr-x 1 Kyle 197121 0 Apr 18 19:28 node_modules/
-rw-r--r-- 1 Kyle 197121 3079 Apr 18 19:29 package.json
-rw-r--r-- 1 Kyle 197121 126859 Apr 18 19:28 pnpm-lock.yaml
-rw-r--r-- 1 Kyle 197121 783 Apr 18 19:24 README.md
drwxr-xr-x 1 Kyle 197121 0 Mar 9 10:32 src/
-rw-r--r-- 1 Kyle 197121 1981 Mar 9 09:21 tsconfig.jsonThis issue has 4 comments on GitHub. Read the full discussion on GitHub ↗