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..
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)
hyperdeficit|9 years ago
berdon|9 years ago
Now I only hope they add in hot-disk support.
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. :(
Tyriar|9 years ago
brulard|9 years ago
thyb_|9 years ago
BTW, really awesome job VSCode team :) I love what you're doing!
purephase|9 years ago
KayL|9 years ago
hatchoo|9 years ago
(I use it to edit a very large JSON test fixture file)
greyman|9 years ago
Tyriar|9 years ago