8

I am using notepad++ V6.4.2. When I close a file, it seems to save defaultly without asking me. How can I configure to get the save/not_save option back?

  • NP+++ doesn't have an auto-save option AFAIK (they do have a backup system, but that's not the same as what you're explaining). There ARE a few plugins that will do auto-saves. Have you ensured you don't have a plugin installed/enabled that's doing it? – Ƭᴇcʜιᴇ007 Jul 11 '14 at 13:58
  • @yliueagle: You might want to update Notepad++ to the latest version as it is at v6.6.7 now. The version I have does show the behaviour you have described but I was able to change it using the method I have given in my answer. – James P Jul 11 '14 at 14:09
  • 1
    @James Thanks. I updated to the new version and get what I want. – yliueagle Jul 11 '14 at 14:22
9

Notepad++ isn't actually saving the file automatically. If you open the file in another editor you will see that your changes have not been committed to the original file. It is using its own temporary copy of the file to hold the changes that have been made.

However, you can prevent Notepad++ from behaving this way by un-checking Settings->Preferences->Backup->Enable session snapshot and periodic backup.

Edit: As Rob has pointed out, this applies to version 6.6 and later where this feature is turned on by default and doesn't require add-ons.

enter image description here

0

In Settings->Preferences->Backup-> I "disabled session snapshots" and now it ask me when I close notepad++ if I want to save the file changes.

-1

Deselect the option "Remember current session for next launch" will work as in Notepad.

  • Session management and File Save management are independent. If I have "Remember current session for next launch" enabled or disabled I'm still prompted to save modified files when closing – DavidPostill Jun 18 '16 at 18:48

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.