CommandCodeAI / CommandCodeAI/command-code
@ file search is almost unusable in huge code base
還沒有人認領這個 Issue。
- 主要語言
- 沒有語言資料
- 星號
- 4k
- 分支
- 350
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Summary
Use "@" to start a file search, it will almost always freeze in large code base. This issue lasts for a long time since I start to use cmdc.
I tested this in two repos, one of it has 42906 files and one of it has 109765 files, the "@" search works but delay like 3-5 seconds on the 42906 one, and will get stuck on the 109765 one.
It seems the solution to file search is not properly implemented in this tool. Switch to codex or claude-code, both of them works seamlessly with "@" file search. Also I believe the current implementation does not ignore some common dependency paths or cache folders.
Expected Behavior
File search works and should be fast
Actual Behavior
File search gets really slow with large code base, and will stuck with huge code base.
Steps to reproduce the issue
Try check out a big mono repo, and install the dependencies fully, then run the file search worfflow.
Command Code Version
1.32.1
Operating System
Linux
Terminal/IDE
No response
Shell
zsh
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
No response
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
issue 中未指定檔案或測試。在已安裝相依性的情況下,使用 zsh 在 Linux 上的包含 42,906 個和 109,765 個檔案的儲存庫中重現 @ file-search 工作流程,然後追蹤現有的搜尋進入點。如果搜尋在沒有回報的數秒延遲或凍結的情況下保持回應,則視為完成。
由索引模型根據 Issue 內容生成。
評估
- 領域
- cli, performance, search
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 活躍
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100