-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
area:workspaceFeedback for workspace management, layout, interactions, etcFeedback for workspace management, layout, interactions, etc
Description
Summary
Adding, removing, or renaming files and folders outside of Zed will not automatically update the project panel.
Description
When working with complex projects where files will change outside of Zed the Zed editor falls out of sync with the system state. Specifically, open buffers and the project panel, and the git panel. Likely anything inside of Zed that relies on a cache of the current filesystem state.
Steps to reproduce:
- Start with a deep folder structure
- Apps
- app1
- app2
- app3
- Packages
- package 1
- package 2
- protos
- service/v1/
- src
- package 3
- Have AI create some protos in
package2/protos/service/v1 - Open some of these protos in Zed
- Download some actual protos that replace some of those files
- Download some actual protos that add new protos to that folder
- Open a terminal and cd into the directory to verify they are there
- Notice the open buffer did not update
- Notice the project file list did not update
Expected Behavior:
- Open buffers should update when files are replaced on the system.
- Project folder structure should be in sync when making changes outside of Zed
- Git panel should always show the current state as if one typed git status in their terminal.
Actual Behavior:
- Open buffers display the previous version of the file downloaded.
- Git panel is completely ignorant of any changes even after doing
git add . - Project panel still show the old state
Errors
LSP Failed to load workspaces. (click to expand)
2025-09-12T22:07:22-07:00 INFO [project.lsp_format] Formatting via LSP
2025-09-12T22:07:22-07:00 ERROR [project::lsp_store] Formatting failed: failed to format via language server: Failed to spawn cd "/Code/packages/rust/services" && "rustfmt"
2025-09-12T22:07:22-07:00 ERROR [acp_thread] failed to format via language server
Caused by:
Failed to spawn cd "/Code/packages/rust/services" && "rustfmt"
2025-09-12T22:07:37-07:00 INFO [project.lsp_format] Formatting via LSP
2025-09-12T22:07:37-07:00 ERROR [project::lsp_store] Formatting failed: failed to format via language server: Failed to spawn cd "/Code/packages/rust/services/src/openfga" && "rustfmt"
2025-09-12T22:07:37-07:00 ERROR [acp_thread] failed to format via language server
Zed Version and System Specs
Zed: v0.202.8 (Zed)
OS: Linux Wayland bluefin 42
Memory: 125.6 GiB
Architecture: x86_64
GPU: AMD Radeon RX 7900 XTX (RADV NAVI31) || radv || Mesa 25.1.7
binarypie, menelike, thinkbig1979, psychedelicious, luddd3 and 73 more
Metadata
Metadata
Assignees
Labels
area:workspaceFeedback for workspace management, layout, interactions, etcFeedback for workspace management, layout, interactions, etc