You can recover your projects from the VSCodeVS Code cache.
In Linux, it is located under /home/USER/.config/Code/User/History/
and under Windows, it is /Users/USER/AppData/Roaming/Code/User/History/
.
Each file has a directory, and in each directory there are different versions of the same file.
Edit either via:
You can also just run the command (Ctrl+Shift+P) Local History: Find Entry to Restore
- Command: Ctrl+Shift+P
Local History: Find Entry to Restore - Directory:
History
Each file has a directory, and within each directory there are different versions of the same file# Linux: ~/.config/Code/User/History # Windows: %AppData%\Code\User\History