[FEATURE] CamelCase abbreviation support for file tagging (@-mentions)
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
@Catalogor@CatalogReportto find the file, it will matchCatalogReportController.ktand other files so the user will have to continue typing or scrolling with arrow keys to find theCatalogReportControllerTest.ktfile - Proposed workflow: Type
@CRC→ autocomplete suggestsCatalogReportController.kt. Type@CRCT→ autocomplete suggestsCatalogReportControllerTest.kt
Additional examples:
- UserAuthenticationService.java → @UAS
- ProductInventoryManager.kt → @PIM
- DatabaseConnectionPoolConfig.java → @DCPC
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗