Windows – How to make Notepad++ remember all instances of itself from last session

notepadwindows

When working with multiple instances of Notepad++, each with its own set of files opened, and the OS crashes then Notepad++ seems to be only remembering one single instance and not the rest.

Is there any way to instruct it, perhaps with a plugin, to remember all opened files of all instances so that in case of a crash they can all be recovered and not just a single window?

Best Answer

Take a look at notepad++ Session management:

Sessions are a set of files opened in Notepad++. They store the open files, the active file (and which view, see the section about Multi-View), the current selection and position in the file, the current bookmarks (see Bookmarks) and the current language (see the section about Languages). Using sessions, you can open a set of (related) files with one action.

You would have to manually save your sessions at regular intervals or use some kind of macro to automate this ... unless you install the Session Manager plugin

The Session Manager Plugin adds aditional features such as Auto Save to the built in Session Manager

Related Question