Visual Studio Code backup mechanics

前端 未结 1 607
死守一世寂寞
死守一世寂寞 2021-01-11 10:46

How does Visual Studio Code recover data after a crash? \"Crash\" includes both sudden power outages and handled exceptions. As examples of what I mean,

  1. Notepa
相关标签:
1条回答
  • 2021-01-11 11:22

    According to 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.

    On Windows, the backup folder is AppData\Roaming\Code\Backups.

    As for the period between backups, I haven't found anything.

    0 讨论(0)
提交回复
热议问题