You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ben (@benlowry) if you don't have autosave enabled vscode does not write a file's content to disk. With autosave enabled it still relies on the operation system file system to perform that operation. Let's assume autosave was enabled and a save operation was in progress when the power outage happened. Whatever vscode is trying to write at this point has still to go through all the layers down to the actual buffer of the disk. Given all that I don't see how vscode could have changed anything in respect to the outcome of the write operation. I do see however how frequent, silent persisting of a dirty buffer state could have made it easier for you to recover. See #101.
Activity
kieferrm commentedon Jul 21, 2016
Ben (@benlowry) if you don't have autosave enabled vscode does not write a file's content to disk. With autosave enabled it still relies on the operation system file system to perform that operation. Let's assume autosave was enabled and a save operation was in progress when the power outage happened. Whatever vscode is trying to write at this point has still to go through all the layers down to the actual buffer of the disk. Given all that I don't see how vscode could have changed anything in respect to the outcome of the write operation. I do see however how frequent, silent persisting of a dirty buffer state could have made it easier for you to recover. See #101.
kieferrm commentedon Jul 26, 2016
Marking as duplicate fo #9589.