Visual Studio Code 如何在崩溃后恢复数据? “崩溃”包括突然断电和处理异常。作为我的意思的例子,
最佳答案
根据 https://code.visualstudio.com/blogs/2016/11/30/hot-exit-in-insiders ,
The way hot exit works is to periodically make backups of unsaved files. If VS Code happens to crash, a backup restore will occur the next time the folder is opened.
在 Windows 上,备份文件夹是 AppData\Roaming\Code\Backups。
至于备份之间的时间段,我没有发现任何东西。
关于backup - Visual Studio Code 备份机制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42635755/