zabel-xyz / local-history

local-history for vscode
MIT License
228 stars 36 forks source link

Does this extension delete the out-date histories only when I open the same file and make some changes ? #135

Open joyous-coder opened 3 years ago

joyous-coder commented 3 years ago

This is my configuration:

    "local-history.daysLimit": 3,
    "local-history.path": "C:\\Users\\XXX",
    "local-history.treeLocation": "localHistory",
    "local-history.maxDisplay": 20

and the file histories are stored successfully. But after some days passed, I find some files I stored four days ago not purged at all. Under some circumstances for example I have deleted the file or I needn't make more changes I will not edit the file at all and local-history.daysLimit will purge nothing.

joyous-coder commented 3 years ago

Can there be some purge functions added when the extension start or stop ?

overtomanu commented 3 years ago

i have also observed that history for files older than one month are not yet purged. "Local History: Days Limit" was set as 30.