Recover deleted file/s in VScode

From YouTube short

Options

  • Cntl-Z

OR

  • Command palette -> Local history: Find entry to restore -> Type the filename -> Click checkmark / ‘Restore file’ icon