Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very slow @file search freezes IDEA after each letter #652

Closed
scscgit opened this issue Aug 13, 2024 · 1 comment
Closed

Very slow @file search freezes IDEA after each letter #652

scscgit opened this issue Aug 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@scscgit
Copy link

scscgit commented Aug 13, 2024

What happened?

After typing every letter after @file:, my entire IDEA window freezes again for over 20 seconds (i.e. loading is not asynchronous).

For reference, my project has over 2GB and over 20k files (most of which isn't source code). Obviously, full-text and file search in IDEA is always instant, as its indices are quite performant, so this plugin must be using a different API. I also didn't notice any settings for whitelisting or blacklisting directories from this search, so I assume it shares behavior with IDEA to only use modules from Project Settings.

image

Relevant log output or stack trace

No response

Steps to reproduce

Have a large project and type letters after @file:.

CodeGPT version

2.9.0-241.1

Operating System

Windows

@scscgit scscgit added the bug Something isn't working label Aug 13, 2024
@carlrobertoh
Copy link
Owner

Thanks for reporting! I'm not using the actual file search API per se, because I'm not sure what the ideal approach is. However, I've fixed the freeze issues for now (will be available in the next release), but the search might still take longer than the native file search that the IDE provides. I'll come back to this issue later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants