microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.43k stars 29.34k forks source link

Feature Request: Persistent Undo/Redo Across Sessions #224682

Open amqndin opened 3 months ago

amqndin commented 3 months ago

Hey VSCode team,

I'd love to see a feature where VSCode saves a history of all the changes I make in a file, even after closing it, restarting VSCode, or even rebooting my computer.

This would mean I could:

I know some other editors like neovim this feature, and I think it would be a great addition to VSCode. It would make my workflow smoother and less stressful. And I think a lot of people would agree with me on this adding this feature.

Thanks for considering my suggestion!

connor4312 commented 3 months ago

You may want to check out the Timeline view which does this (bottom of the Explorer tab)

bpasero commented 3 months ago

See also #17977 and #15135.

amqndin commented 3 months ago

You may want to check out the Timeline view which does this (bottom of the Explorer tab)

whaaat, thanks i will definetly look into that

amqndin commented 3 months ago

See also #17977 and #15135.

oh, apologies

amqndin commented 3 months ago

yeah, timeline feature actually tracks all of the changes, but how can go back to previous state in timeline by a keyboard shortcut? that would be amaznig. thanks in advance

vs-code-engineering[bot] commented 2 months ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

vs-code-engineering[bot] commented 2 months ago

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

khemarato commented 1 month ago

Yes please! Would love edit history to persist after close / restart.