Skip to content

rudisimo/vscode-local-history-parser

Repository files navigation

VS Code - Local History Parser

The March 2022 release of VS Code provided a new feature called Local history. It provides a mechanism to keep track of local file changes independent of source control.

The idea behind this project is provide a way to locate and filter all snapshots created by the Local history feature. It was born out of the necessity to restore two days worth of files lost via a misplaced rm -rf *.

Installation

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -U git+https://github.com/rudisimo/vscode-local-history-parser/archive/refs/heads/main.zip

Usage

Display help message:

lhp -h

Notes

I would like to extend a HUGE thanks to the Visual Studio Code team for the lifesaver feature.

Github Issues:

License

Licensed under the MIT license.