@ file search is almost unusable in huge code base
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 52/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- cli, performance, search
调研方向
issue 中未指定文件或测试。在已安装依赖项的情况下,使用 zsh 在 Linux 上的包含 42,906 个和 109,765 个文件的存储库中重现 @ file-search 工作流,然后跟踪现有的搜索入口点。如果搜索在没有报告的数秒延迟或冻结的情况下保持响应,则视为完成。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- 没有语言数据
- 星标
- 4k
- 派生
- 350
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CommandCodeAI/command-code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#855 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
CommandCodeAI/command-code#841 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#655 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#608 ·
-
难度 3/5 1-2 天 新手友好度 70/100
CommandCodeAI/command-code#893 ·
查看 CommandCodeAI/command-code 的全部 Issue
相似的 Issue
-
from:qa priority:P2 reliability tech-debt
难度 2/5 1-3 小时 新手友好度 78/100
spec-kitty/spec-kitty#4874 ·
-
automation code-quality cookie deep-report documentation improvement quick-win task-mining
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 62/100
-
area/cli area/sdk
难度 2/5 1-3 小时 新手友好度 86/100
-
难度 1/5 1 小时以内 新手友好度 92/100
jesseduffield/lazygit#6046 · 4 条评论 ·