claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] File auto complete disappears when typing special character like `(` and `[`

Open huchenlei opened this issue 6 months ago • 1 comments

Environment

  • Platform (select one):
    • [x] Anthropic API
    • [ ] AWS Bedrock
    • [ ] Google Vertex AI
    • [ ] Other:
  • Claude CLI version: 1.0.21
  • Operating System: macOS 15.5
  • Terminal: Cursor integrated terminal

Steps to Reproduce

I have a file in our project which has path: src/app/(dashboard)/admin/profile/[id]/page.tsx. When I type @\src\app\(, the auto complete just disappears.

Image

Image

I also tried @\src\app\/(, but it does not work

Expected Behavior

The auto complete option list correctly displays every option

Actual Behavior

The whole auto complete option list is not shown

Additional Context

Special character like ( and [ are common in nextjs projects.

huchenlei avatar Jun 12 '25 21:06 huchenlei

Confirmed repro on another environment.

  • Exist claude code
  • Create a directory [test]
  • Start claude code
  • @ does not find [test] directory

Environment

  • OS: Ubuntu 24.04 LTS
  • Claude Code 1.0.24 (Claude Code)
  • Terminal: Windows Terminal

adamkwhite avatar Jun 16 '25 22:06 adamkwhite

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Oct 10 '25 10:10 github-actions[bot]

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] avatar Dec 10 '25 10:12 github-actions[bot]