rob-revisited/docs/ide/local-history.md

19 lines
836 B
Markdown

# Local history
The IDE keeps the versions of your files on this computer, without git: one at each save, and one when a file changed outside the
IDE (Claude Code, a terminal, git) before the IDE saves or opens it again.
## Use it
**File > Show Local History** (also the right click of an editor tab or of a file in the Project view): the versions, newest first.
- **Compare**: a diff whose right side is the file itself (editable).
- **Revert**: the version goes back into the editor as one change: `Ctrl+Z` takes it back.
**Recently Changed Files** (`Ctrl+Shift+E`) uses it too: it says whether the IDE saved a file or it changed outside, and compares
it with the version before.
## Limits
Kept in `.jumphp/history/files/` (never in git): the 60 newest versions of a file, 60 days at most, text files up to 1 MB.
Desktop only.