Situation:
Open a text file in n++, make some modification, press ALT-F4 or Close program. The N++ won't ask "Do you want to save your changes". Instead it quits and text file on hdd remains unchanged.
But when I open the N++ again, the MODIFIED file is still in there. Red tab is indicating unsaved changes and I can save it by ctrl-s. I can also save it by closing the tab (n++ will ask).
I want to save the file automatically every time I close the n++. All of my other istallations does that but this. I could not find any settings in the n++ options. Any idea?
Start Notepad ++, click on "Settings" > "Preference". Step 2. Click "Backup" on the window, and find the Notepad ++ unsaved files location in the Backup path.
It autosaves every minute, but it's configurable, and allows you to choose to save only the current document or all open documents.
1 Answer. Show activity on this post. With the Version 6.6 line of Notepad++ there is a new feature called "Session snapshot & periodic backup" which periodically (by default every 7 seconds) autosaves all of your work.
New feature added in Notepad 6.6 for which the release notes say:
The main feature of this release is Session snapshot & periodic backup. If this feature is enabled (enabled by default), user won't be asked to save unsaved file as he quits Notepad++, and on startup Notepad++ restores the unsaved file and unsaved untitled document of last session.
This facility is controlled via menu => Settings => Preferences => Backup. For more details see also this section of the Notepad++ User Manual.
As an answer to your question, in the afore mentioned Settings => Preferences => Backup window, uncheck the "Remember current session for next launch" setting. Now you will be prompted to save any modified files when exiting.
This is actually a great feature. First, Periodic backup is great it can prevent data lost when pc suddenly shutdown or crash.
The feature: don't ask to save files is also great.
For me, I opened a lot of files in notepad, also create a lot of tmp files(I don't want to save these tmp files, but it may be useful for x days), in previous version, when I close notepad++(reboot pc or install new version), it asks me whether save all these files. It's a nightmare.
This feature helps me a lot.
Also there is no data lost - all your data is still there after restart. So really nothing to complaint.
Yeah - i also love this feature.
If you turn on backup then it does an backup - which i dont want and need.
My solution - Turn Backup on and use Custom Backup Directory As Directory use NUL
Now its working like expected
This facility is controlled via menu => Settings => Preferences => Backup.
UnCHECK: "Enable Session Snapshot and Periodic Backup"
Configuración / Preferencias / Backup Quitar CHECKS a Recordar la sesión actual en el próximo inicio
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With