Nikola
Nikola

Reputation: 79

Visual Studio Code deleted files after crash

Visual Studio Code has crashed and deleted all files and all file changes I've been working on for the last 5 days, although I've saved them. Is there any solution for recovery ...

Upvotes: 0

Views: 954

Answers (2)

karel
karel

Reputation: 5872

If you are using Windows, your Visual Studio code files can be found at %appdata%/Code/Backups

If you are using MacOS, then you can find all your Visual Studio code files at $HOME/Library/Application Support/Code/Backups

Upvotes: 1

Lenif
Lenif

Reputation: 3

Same problem for me. The entire vs-code folder is empty!

I searched the recycle bin, vs-code backup folders, recovery tools for deleted files but found nothing.

Thanks to the message below, I found a copy of the code in the folder: %appdata%/Code/User/History

Upvotes: 0

Related Questions