Every save keeps a version of the file.
Before you start
You need app/page.tsx, saved more than once. See Edit files.
Compare versions
- Right-click the file's tab,
page.tsx. - Click Versions. You should now see up to 30 of the file's versions, newest first, each by its time under its day, such as Today.
- Click the last version in the list. It opens in a tab of its own.
- Open Editor actions.
- Click Compare draft. You should now see a tab that reads
page.tsx ↔ Draft, with the changed lines marked. - Click the last version in the list again.
- Open Editor actions.
- Click Select for compare.
- Click the newest version.
- Open Editor actions.
- Click Compare with selected. You should now see a tab that reads
page.tsx ↔ page.tsx, with the changed lines marked.