Workspace indexing is extremely slow and not improved by .aiexclude configuration
What happened?
Gemini Code Assist extension for VS Code takes over 1.5 hours to index the workspace every time VS Code is opened, even after excluding unnecessary folders using .aiexclude (indexing only packages/next/*). Re-indexing takes the same amount of time regardless of workspace changes or exclusions. This does not happen with GitHub Copilot under similar setup.
What did you expect to happen?
Workspace indexing should be faster, especially after excluding large folders with .aiexclude. Re-indexing should be shorter if there are no material changes. Performance should be comparable to similar tools like GitHub Copilot.
Client information
Platform: VS Code on Windows 11. Gemini Code Assist extension version: [email protected] Next.js repository as the workspace.
Login information
Logged in via Google Account
Anything else we need to know?
This severely impacts productivity. No similar reports were found in existing issues. Would appreciate any guidance or workaround. Happy to help with diagnostics if needed.
Same here, on one repository everything indexes fine, but on the other, a relatively small python repo, it quickly baloons to 20+ gb of ram usage until I eventually kill it. I'm on mac os.
Try AntiGravity
I had the same kind of issue: Gemini Code Assist was indexing all my node_modules and .angular/cache even those folders were in the .gitignore file. I tried to add them also in a specific .aiexclude but still the same. In my computer the process was crashing after a while.
I saw an option in the settings :
and just disabling it was much better. I did not see any side effect for the moment.
Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.
It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.
Thank you for your contribution!
Well, it's still very much of an issue
Yes i do have the same issue
I'm having the same issue. I've switched to another AI because of it.