-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
workspaceContains starts a search over full workspace, including .git/, node_modules/ #34487
Comments
Also, we could batch workspaceContains searches into a single search. For example the C# extension will spawn 6 ripgrep processes. |
So, how do you then active on |
Maybe add some smartness to search .git/ or node_modules/ if it's explicitly mentioned in the |
I will not push any change that changes the semantics. But I agree, if an extension has multiple glob patterns, we can invoke |
Thanks, that should help. Opening #34711 to track other strategies |
Now I see it spawning some rg processes with no glob args at all. I think there might be a bug. Debugging... |
@roblourens Nice catch! Yes, it can happen if an extension uses strict file names and no glob patterns |
Since 10c0610
This could be very expensive. We should include the exclude settings, or hardcode an exclusion to a few folders.
The text was updated successfully, but these errors were encountered: