-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Project panel works with large delays in large projects #23025
Comments
Can you paste screenshot of what's been in the right sidebar before creating the file? |
Sorry, it's very hard for me to understand what is a "right sidebar" on VSCode too — there, I see a left dock open, and the editor in the center (with the minimap). |
Finally, it starts to make sense. One last question: is it a lot of files in the project? I suspect that Zed's project panel is scanning the entire project at once before showing anything, as does it so slow that nothing appears there for a while. |
Yes,more than 60,000 files. I just closed this project and tried to reopen it. It's been ten minutes now, and the project panel is still empty. |
CC - @osiewicz (AKA, the performance goat). |
This can be observed on rust-lang/rust as well; it has to do with this call: zed/crates/worktree/src/worktree.rs Line 5184 in 813bbec
I'm not sure what we can do about it at the moment, sans maybe decoupiling git scan from the main background scan. |
#24307 had been merged and I see much faster project panel interactions in If you can build from source and give it a try, or wait until next Preview version to release with it. |
After #24722 I am not able to reproduce this, so closing optimistically. |
Describe the bug / provide steps to reproduce it
I create a file, and all the content in the right sidebar disappears. I have to reopen Zed to restore the display.
Zed Version and System Specs
Darwin MacBookPro.lan 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 18:40:14 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T8103 arm64
Zed 0.168.2 – /Applications/Zed.app
The text was updated successfully, but these errors were encountered: