Groups near-simultaneous changes in VSCode's local timeline, and allows for restoring grouped or individual files to any previous timeline save point.
Much like JetBrains's Rider's Local History feature.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Grouped Timeline: Local History Restore Manager for VS Code!
A VS Code extension that groups near-simultaneous changes in your local timeline, allowing you to restore grouped or individual files to any previous save point - much like JetBrains Rider's Local History feature.
No previous install necessary, works retroactively!
Can't figure out exactly which files changed (and how) yesterday? No problem! This extension will tell you!
Features
Groups timeline entries by time window
Restores individual files or groups of files
Configurable file tracking through .groupedtimelineinclude
Preview changes before restoring (compared with next save, or with current version)
Sort by time or number of files changed
Search for specific files or groups of files
How to first use
After installing the extension, a .groupedtimelineinclude file will be created in your workspace root. Open it.
For most projects, uncomment the **/* and * lines in the file so it looks like this:
Click the refresh icon in the Grouped Timeline view in Explorer (under the built in Timeline view) to refresh the timeline.
Use context menu to restore or preview versions
Screenshots
Main Extension View
Restore Options
Timeline Groupings
Configuration
Search
Source Code
This extension is open source and the code is available here.
Feel free to contribute or report issues!