Hot Exit is one of those features that I didn't think I needed or wanted...until I started using Sublime like a notepad to store text, but not save it. I'm excited that this feature is now in VSCode now, and it also works with files that have never been saved just like Sublime.
Sublime Text 3 checks to see if the currently opened version differs from the file system. If it does, it prompts the user to keep the current version or replace it with the disk version. VS Code just replaces the current version with the disk version and doesn't retain history so you can't undo this.
I lost about an hour of work yesterday because I had a file open in both VS Code and Sublime Text. Pressing save in Sublime Text wiped out all changes. :(
Sublime's updates are dismal. https://www.sublimetext.com/blog/ I had to switch to Atom just because the development is stagnant. I liked Sublime very much. But it's been 2 years already..
The official download page says "Sublime Text 3 is currently in beta"
It's been like that for years. First build is from January 2013, it's almost 4 years already. I don't know what specifically is missing there, I just know I'm not comfortable using beta version (with little hope it will ever come out of beta) of a product for daily work. I see it as even developers don't consider it stable enough.
I wished they had this feature 2 days ago... I spent 3h writing issues in VSCode before submitting them on Github issues, then my laptop ran out of battery (and of course it was in an untitled file so it was unsaved)... I just wanted to cry.
BTW, really awesome job VSCode team :) I love what you're doing!
Isn't just better to enable autosave? (VS Code has that as well). I learned its usefulness from PHPStorm, where it is switched on by default. So I just not explicitly save anymore, it is done automatically and immediately.
Hot exit is still useful when auto save is on as it works with untitled files. Crash recovery also comes with hot exit regardless of whether the feature is on or off. (I'm on the vscode team)