"are you sure?" when saving "all files"
-
Does anyone find it annoying when multiple files are opened, only one modified, and when clicking on “Save All”, you get a big popup with
“Are you sure you want to save all documents?”
Perhaps someone who knows how to change the code could make it not to do the popup when only the single viewed file is modified. Thanks. -
I don’t find it annoying, but that’s because I had it save my answer to always Save All, and made sure it does this by checking the Settings > Preferences > MISC > Enable Save All confirm dialog to make sure that’s un-checkmarked.
That said, regular Forum participant @Alan-Kilborn did find it annoying, and put in a feature request, and it was implemented starting in Notepad++ v8.4.3. So if it doesn’t, you might want to check your version, which will give you that feature.
-
I’d agree that going with the preference setting Peter mentions is the way to go, if this type of popup annoys you at all. End of story. Stop reading now… Unless you don’t want to enable that preference setting (e.g., you still want to be warned if multiple files are to be saved).
The feature request that Peter cites solves the problem specifically asked for:
not to do the popup when only the single viewed file is modified
So the real and exact answer is to make sure you are running 8.4.3 or later.
However, note that the popup will still occur if you invoke Save All and there is exactly one modified file and that file is not the currently active file. The only way it doesn’t occur is if the Save All is invoked and the current file is the only one modified. In this case the Save All is exactly equivalent to a Save, so no popup happens.