github / github/copilot-cli

File @Mention is very slow for a large repository with ~150k files.

Open
#3,469 0 comments 1 reaction 0 assignees View on GitHub
area:input-keyboard area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

For a very large repository, nearly 150,000 files, @ to mention a file is very slow. After typing @(the full exact file name) it takes over 5 seconds to show any results. This is a new fast M5 Pro Mac.

#ms-teams-fb

### Affected version

GitHub Copilot CLI 1.0.52-0.

### Steps to reproduce the behavior

Type @FileName
Results should show quickly. It can take many seconds, even with a brand new fast computer.

### Expected behavior

Type @FileName
Results should show quickly.
Bonus: Search results are not case sensitive. This would be an improvement over Claude that is case sensitive.

### Additional context

MacBook Pro, Apple M5 Pro CPU, 64GB RAM.
Repository is very large. over 145,000 files.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.