[FEATURE] CamelCase abbreviation support for file tagging (@-mentions)

Resolved 💬 3 comments Opened Sep 25, 2025 by yluom Closed Sep 29, 2025

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

When working with codebases that have long, descriptive file names (especially common in Java/Kotlin projects), referencing files via @ mentions becomes cumbersome.
Users must type significant portions of the actual filename to get autocomplete suggestions, which slows down workflow and increases cognitive load.

Proposed Solution

Implement CamelCase abbreviation matching for @ mentions. When a user types @ followed by capital letters, Claude Code should match files where those letters correspond to the initial capitals in CamelCase file names.

Matching Strategy:

  • Extract capital letters from file names as potential abbreviations
  • Match user input against these abbreviations
  • Show matching files in autocomplete suggestions
  • Work alongside existing partial string matching

You might consider a fuzzy input/results as well.

Benefits

  • Faster file referencing in conversations
  • Reduced typing for long file names
  • More intuitive for developers familiar with CamelCase conventions
  • Improved workflow efficiency

Alternative Solutions

_No response_

Priority

Medium - Would be very helpful

Feature Category

Interactive mode (TUI)

Use Case Example

Scenario: Developer working on a Spring Boot project needs to reference a test controller file.

  • File name to tag: CatalogReportControllerTest.kt. Other existing files: CatalogReport.kt CatalogReportService.kt CatalogReportRepository.kt CatalogReportDto.kt CatalogReportServiceTest.kt ...
  • Current workflow: Type @Catalog or @CatalogReport to find the file, it will match CatalogReportController.kt and other files so the user will have to continue typing or scrolling with arrow keys to find the CatalogReportControllerTest.kt file
  • Proposed workflow: Type @CRC→ autocomplete suggests CatalogReportController.kt. Type @CRCT→ autocomplete suggests CatalogReportControllerTest.kt

Additional examples:

  • UserAuthenticationService.java → @UAS
  • ProductInventoryManager.kt → @PIM
  • DatabaseConnectionPoolConfig.java → @DCPC

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗