zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.49k stars 3.13k forks source link

Preserve edit history after closing project #19981

Open neunato opened 3 weeks ago

neunato commented 3 weeks ago

Check for existing issues

Describe the feature

Closing a project or switching to a different one loses edit history.

I find myself often switching between related projects at work, sometimes just to glance at a specific file, only to return back to the original project and not being able to undo in the open file.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

agjini commented 2 days ago

It seems that when a file is saved it lose the undo history for this file. I'm not sure this the same issue as mentioned here. While coming from another editor (like jetbrains) and this behavior seems very strange. I would prefer that the editor keep the history event after save (or autosave). In my case I'm in autosave on focus los

agjini commented 1 day ago

I've updated zed with version 0.163.0.r30.g74223c1-1 and now it works greatly !

I'm running manjaro.