Question

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.

Was it helpful?

Solution

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!

OTHER TIPS

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.

I started writing a little plug-in, but it wasn't very useful in the end (slow and a little buggy). I am now using version control for any files I'd like to keep different versions of.

It seems that you are a Windows user, so you have an option of using shadow copies, but copies are probably not generated often enough.

IntelliJ Idea and some other Java IDEs have local history feature.

I personally use TortoiseSVN and svn server on Dreamhost. This had additional benefit of having my files stored off-site in case of disaster.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top