"Always shelve changes on exit" should be a default experience
Anonymous shared this idea
There's an option in the settings to make it default.
Edit > Preferences > Always shelve changes on exit
To see similar functionality take a look at Notepad++. That is its default behavior.