The intelligent safety net for AI-assisted coding. Never fear breaking your code again.
Rollback.ai is a simple but powerful VS Code extension that acts as a safety net for your workflow. It allows you to create snapshots of your working code before you try a risky change, and instantly restore that safe version if things go wrong.
Demo
✨ Core Features
One-Click Snapshots: Use the simple ▶ Start Session and ■ Stop Session buttons in your status bar to capture the "known-good" state of your code.
Per-File History:Rollback.ai maintains a separate, independent history for every single file in your project. The sidebar automatically updates as you switch between files.
Instant Restore: Made a mistake? Just click the "Restore" button on a previous snapshot to instantly revert your entire file.
Full History Management: Easily rename your snapshots for better context or delete old ones you no longer need.
Persistent History: Your snapshot history is saved and will be there for you even after you restart VS Code.
(Coming Soon: AI-Generated Snapshot Names, Cloud Sync, and Snapshot Sharing!)
🚀 How to Use
Open any code file.
Click the ▶ Start Session button in the bottom-left status bar.
Make your changes to the code.
When you're done, click ■ Stop Session. A snapshot of your code before the changes will be saved.
Click the Rollback.ai icon in the Activity Bar to view your history and restore any previous version.