4

I am looking for a Notepad++ plug-in that automatically save a document whenever a change is made on it in Notepad++, or as a last resort when Notepad++ loses focus. It should work on Windows. Ideally it should be easy to turn on and off the plug-in.

I need this because I edit a bash script on Windows and run it in a Linux vm through shared folder. I would like to avoid having to hit ctrl+s each time I want to run the script after a modification.

  • 2
    Related: Any way to have Notepad++ automatically save on exit? says there is one to auto save open documents […] It's called AutoSave and is available to download here Btw: first hit on a Google search for "notepad++ autosave" ;) Quote the linked site: allows to automatically save the currently open files based on a timer schedule (default is 1 min), so it's not exactly what you asked. – Izzy Jul 10 '15 at 16:10
  • @Izzy Thanks, looks like it only saves every 1 minute though :/ "The plugin mentioned only allows option to save in minute intervals. (i.e. autosaving every 1min is most frequent will do) " – Franck Dernoncourt Jul 10 '15 at 16:13
  • 1
    Yeah, as I wrote: not exactly what you're looking for, but pretty close (possibly as close as you can get). Hence (and since I've not used it myself) a comment, not an answer :) So if there is no answer to your request, you've at least got a "work-around". – Izzy Jul 10 '15 at 16:15
  • @Izzy Sounds good :) – Franck Dernoncourt Jul 10 '15 at 16:17
  • 1
    @Mawg I edit a bash script on Windows and run it in a Linux vm through shared folder. I would like to avoid having to hit ctrl+s each time I want to run the script after a modification. – Franck Dernoncourt Jul 13 '15 at 15:05
3

There are two strongly related question in the SE network, which are slightly outdated:

These answers lists two autosave plugins (which are easily found in Notepad++ Plugin Central):

  • Autosave2 by www.scout-soft.com — Autosaves by creating a copy of the file at given time interval. In this particular context not so useful
  • Autosave by Franco Stellari — Option available to configure autosave on timed intervals or when notepad++ looses focus

Picture displaying the new option dialog window (from version v1.20 2010-07-16) regarding autosave on loss of focus (see first option):

Picture from fstellaris displaying option window of plugin

This new functionality of Autosave by Franco Stellari regarding autosave on loss of focus, should handle your usercase just fine.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.