How to Recover Deleted Files in Visual Studio Code

If you deleted a file in VS Code, you can only recover it from your system’s Recycle Bin (Windows) or Trash (Mac). Unfortunately, if they’re been deleted from the recycle bin, there will be no easy way to recover them.

Follow these steps:

  1. Open Recycle Bin from your local computer.
  2. Find or navigate to the deleted file.
  3. Right-click on the file and click on the Restore option.

    Restore
    Click on the Restore option.

The deleted files will be automatically restored in the VS code.

Leave a Comment