-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Description
Summary
When fixing the last error in the project diagnostics multibuffer, the error disappears before I'm able to save it, leading to flickering.
Steps to trigger the problem:
- Open a project with no diagnostic errors/warnings (I used a Go project)
- Introduce a code change that creates a single error and save
- Close all tabs except for the Project Diagnostics
- In the project diagnostics multibuffer, fix the error (but don't save)
Actual Behavior:
At least for my Go project, the unsaved change to fix the error clears the error from the Project Diagnostics tab. But this also clears the multibuffer, so I no longer have a way to view or save these unsaved changes!
If I close the tab, my unsaved changes are wiped without any confirmation dialog.
If I leave the tab open, I start seeing flickering where the error diagnostic shows back up, appears in the multibuffer, is fixed by the re-applied untracked changes, and disappears.
Expected Behavior:
I'm honestly not sure what a good UX would be here, but I would certainly hope to be able to save my changes.
Zed Version and System Specs
Zed: v0.178.5 (Zed)
OS: macOS 15.0.0
Memory: 16 GiB
Architecture: aarch64