Sublime Forum

Deduplicate the "Do you want tot save the changes" prompt


Use case: once in a while I realize I have too many tabs open in my project.
I pick a handful (or none) to keep and then spam the “Close File” action.

If any of the files have unsaved modifications, I get a popup for every time I pressed “Close File”. Ideally if I get the pop-up, I pick 1 time, Sublime remembers that action and then suppresses or dismisses the other popups in the queue.

Repro case on MacOS (build 4126):

  • Create new file
  • Add a letter
  • Spam Command + W
  • See a lot of popups for “Do you want to save the changes you made to New file?”

It would be nice to only get 1.