Skip to content

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

Description

@miburf

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text inputarea:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions