Any Notepad++ plugins to automatically save document versions

30,384

Solution 1

Settings > Preferences > Backup tab > Click Verbose Backup

This will time stamp a copy of your file every time you save.


Update:

AutoSave allows to automatically save the currently open files based on a timer schedule (default is 1 min) and/or upon the application losing focus. The plugin offers a couple of options to save the current (or all the files), selecting only the named ones, accessible through a menu.

[Via Lifehacker]


Update2: BEWARE: If the Custom Backup Directory you set to is deleted/moved, then the backups won't happen! No error is thrown notifying you of the dead link!

Solution 2

You might be better off looking into something closer to "real" version control - Mercurial, perhaps. It doesn't require a server, and it's really easy to set up.

To automate it, you could turn on autosave in Notepad++, and set up a windows scheduled task to do an hg commit every few minutes.

Share:
30,384
Cameron
Author by

Cameron

I love programming :-)

Updated on October 08, 2020

Comments

  • Cameron
    Cameron over 3 years

    Does anyone know of any notepad++ plugin that saves a version of whatever I'm working on periodically? Ideally, it would save many versions with the automatic version number and the date in the title, and perhaps store them in a zipped archive to save space.

    Does something like this exist already, or shold I attempt to write such a plugin myself?

    Thanks,
    Cameron

    P.S. It should be freeware or (preferably) open-source.