claude-code - 💡(How to fix) Fix [BUG] @ autocomplete regression: lowercase queries no longer match uppercase paths [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46743Fetched 2026-04-12 13:34:13
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

Lowercase @ mention queries no longer match paths containing uppercase characters. This is a regression — it previously worked.

Root Cause

Lowercase @ mention queries no longer match paths containing uppercase characters. This is a regression — it previously worked.

RAW_BUFFERClick to expand / collapse

Description

Lowercase @ mention queries no longer match paths containing uppercase characters. This is a regression — it previously worked.

Reproduction

  1. Have a directory structure with uppercase names, e.g. vox-systems-inc/agents/CEO/
  2. Type @ceo in the input
  3. Expected: vox-systems-inc/agents/CEO/ appears in autocomplete
  4. Actual: No match

Similarly, @working does not match a directory named working/ if searched as @WORKING — but the primary issue is lowercase-to-uppercase (the common case).

Environment

  • macOS (case-insensitive filesystem)
  • Claude Code (latest version)

Context

This is related to but distinct from #14623 (closed, not planned). That issue reported inconsistent mixed-case matching. This issue reports a regression where case-insensitive matching that previously worked has stopped working. Lowercase queries matching uppercase paths is the most common real-world pattern (users type lowercase, paths often contain uppercase).

extent analysis

TL;DR

Update the query logic to perform case-insensitive matching for @ mention queries to fix the regression.

Guidance

  • Review the autocomplete query logic to identify where case sensitivity is being enforced, and modify it to use case-insensitive comparison.
  • Verify the fix by testing @ mention queries with both lowercase and uppercase characters against directories with mixed case names.
  • Consider adding a test case to ensure this regression does not happen again in the future.
  • Check if the issue is specific to the macOS environment or if it also occurs on other platforms with case-sensitive filesystems.

Notes

The issue seems to be specific to the Claude Code application on macOS, but it's unclear if this is a platform-specific problem or a general issue with the application's query logic.

Recommendation

Apply workaround: Modify the query logic to perform case-insensitive matching, as this is a regression of previously working functionality and will restore the expected behavior for users.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING