
While working across multiple projects in VSCode I tend to accidentally close it and lose all my undo/redo history. Sometimes I'd just get stuck with lost code and no way to get it back.
So I decided to build an extension that remembers your history even after VSCode shuts down or you restart your laptop.
It's called Return Back every change you make gets saved to a persistent stack so you can still step back through your history the next day. Stores up to 500 snapshots per file, scoped per workspace.
I'm pretty new to TypeScript so would love a code review from people who know what they're doing. The source is on GitHub happy to hear any feedback on the code structure or approach.
Please star repository to support. Thank you.
Github link - https://github.com/MihirKohli/ReturnBack