MoonshotAI / MoonshotAI/kimi-code
Feature: Support fuzzy file path matching for @ file mentions
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
你希望看到什么功能?
Currently, @ file mentions appear to rely mainly on path/prefix
completion, which makes it difficult to reference files in deeply
nested projects.
Claude Code supports fuzzy matching for @ file mentions.
For example, if the project contains:
/aa/bb/cc.go
The following queries should be able to find the file:
@cc.go
@bb/cc.go
@aabc
The matching should search against the full workspace-relative file path,
rather than only matching the path prefix from the current input.
This would make @ file mentions much more convenient in large projects.
补充信息
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the @ file mention completion and matching entry point in the TypeScript CLI. Check how matching currently uses the input path, then verify that workspace-relative paths support the examples @cc.go, @bb/cc.go, and @aabc without breaking existing completion behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100