CommandCodeAI / CommandCodeAI/command-code
@ file search is almost unusable in huge code base
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 4k
- Fork
- 350
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Issue không xác định tệp hoặc bài kiểm thử nào. Hãy tái hiện quy trình @ file-search trên Linux với zsh trong các repository chứa 42.906 và 109.765 tệp, với các dependency đã được cài đặt, sau đó lần theo entry point tìm kiếm hiện có. Được xem là hoàn tất khi chức năng tìm kiếm vẫn phản hồi mà không gặp độ trễ nhiều giây hoặc tình trạng bị treo như đã báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- cli, performance, search
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 52/100