Nicolab / atom-local-history

Atom package for maintaining local history of files.
Other
77 stars 9 forks source link

Automatic Purge #49

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hey Nicolas,

Thanks for this package! I missed the feature from Eclipse.

Instead of implementing an automatic purge, there's a simple workaround that you could add to the documentation. Simply add this line to your init.coffee (Edit > Init Script...):

atom.commands.dispatch(atom.views.getView(atom.workspace), 'local-history:purge');

This way, the purge command will be called automatically every time atom starts.

Nicolab commented 7 years ago

Hello Marco,

Good idea :+1: I wanted to avoid this to avoid slow down the startup but this can be a configurable option (deactivated by default). I will add this as soon as possible.

Thanks!

Nicolab commented 7 years ago

Released in v4.2.0 :tropical_drink: