[BUG] @.claude/ autocomplete shows global ~/.claude/ instead of project-local .claude/ directory
Resolved 💬 6 comments Opened Jan 29, 2026 by mtskf Closed Mar 14, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When typing @.claude/ to reference files in the project-local .claude/ directory, the autocomplete shows only the global ~/.claude/ directory instead of the project-local one.
Two separate issues observed:
- CLI: Autocomplete shows global
~/.claude/(e.g.,/Users/username/.claude/,/Users/username/.claude/skills/) instead of the project-local.claude/directory - VSCode Extension: No autocomplete suggestions appear at all when typing
@.claude/
What Should Happen?
When typing @.claude/ in a project that contains a .claude/ directory:
- The project-local
.claude/directory should appear in autocomplete suggestions (with higher priority) - Or both global and local
.claude/directories should be shown, clearly distinguished
Steps to Reproduce
- Have a project with a local
.claude/directory (e.g., containingplans/,CLAUDE.md, etc.) - Have a global
~/.claude/directory with different content (e.g.,skills/,commands/) - Open the project in Claude Code CLI or VSCode extension
- Type
@.claude/to trigger autocomplete
Expected: Project-local .claude/ directory appears in suggestions
Actual (CLI): Only global ~/.claude/ appears in suggestions
Actual (VSCode): No suggestions appear at all
Environment
- Claude Code CLI version: 2.1.22
- VSCode: 1.108.2 (arm64)
- VSCode Claude Code Extension: 2.1.22
- OS: macOS Darwin 25.2.0
- Shell: zsh
Related Issues
- #1818 - Original feature request for
.claudedirectory autocomplete (closed as fixed in v1.0.64) - #21526 - Commands from
.claude/commands/not appearing in autocomplete - #20087 - Agents in
.claude/agents/not appearing in @agent autocomplete
Additional Context
Other directories (non-dotfile directories) autocomplete correctly. The issue is specific to the .claude/ directory where it prioritizes or only shows the global directory over the project-local one.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗