is there an autosave function/plugin for notepad++?
You can find a Notepad++ plugin called AutoSave for autosaving your files here: https://github.com/francostellari/NppPlugins/tree/main/AutoSave (Used to link to https://sites.google.com/site/fstellari/nppplugins but that’s no longer online, cached version is still available here) It autosaves every minute, but it’s configurable, and allows you to choose to save only the current document or all open documents.