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
48.69k stars 2.92k forks source link

Local History for Files #15045

Open x80486 opened 3 months ago

x80486 commented 3 months ago

Check for existing issues

Describe the feature

I would like to suggest an enhancement that I'm sure could benefit many users: the addition of a local history feature for files, similar to the one available in IntelliJ IDEA.

IntelliJ IDEA provides a local history feature that automatically records changes to files and sub-directories independently of version control systems. This comes pretty handy to view a timeline of changes for each file, and compare (or restore) different (or previous) versions of a given file or sub-directory.

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

image

gevgeny commented 2 months ago

I would say lack of local history is the last reason why I cannot fully change my IDEA to Zed. I could reconcile with lack of others, but this one is too useful.

Here is one more screenshot from IDEA which shows what we need:

image
prasanna4742 commented 1 month ago

I'm in love with Zed, we really need this feature, I was struggling with mac keys and nearly lost my 4 hours of work because there's no local history (I know it's on me, but would really appreciate local history)

devnulled commented 6 days ago

+1, I'm really digging Zed and this is the only major feature I can think of at the moment that it needs as sort of a baseline type feature. I think it's necessary as a base functionality of an editor/IDE rather than being a "nice to have".

Right now I'm having to do other hacky things in case I want to go back to previous versions of files. This feature in the JetBrains suite is a lifesaver for so many reasons.. like not worrying about leaving auto-save on, not worried about the UI crashing and losing your work, etc.

Thanks for all of the great work! Just adding a +1 in hopes of it helping it move up in priority.