VS Code ExtensionRevision History

File Revisions

Every file gets its own automatic backup history, shown in the History section of the sidebar. This is separate from your actual saves — think of it as an undo safety net.

How entries are created

  • Manual entries are created every time you save (Ctrl+S).
  • Auto entries are created automatically after a period of inactivity — if you stop typing for a while, your current progress is backed up on its own, so you don't lose work even if you forget to save.
  • AI entries are created automatically right before the AI assistant applies any edit — see AI Coding Assistant page.

Setting the Auto Save Interval

Open Settings from the sidebar (or search reactJsxVisualizer in VS Code's own Settings) and set Auto Save Interval to 1, 3, or 5 minutes (3 minutes is the default). This controls how long the extension waits after you stop typing before it creates an automatic backup.

Restoring a previous version

  1. Open the file whose history you want to browse.
  2. Expand History in the sidebar.
  3. Click any entry to instantly restore your file to that point in time.

How long is history kept?

Up to the 50 most recent backups per file are kept, for 72 hours. Older backups are cleared out automatically — history is meant for short-term recovery, not permanent version control.

If you delete a file from VS Code, its revision history is cleared along with it.