I find a simple solution: keep your project or working directory in Google Drive, so a deleted file can be recovered from Google Drive's trash, even if the deleted file is not in Window's trash.
I would like to hear that for the  Spyder 5.1.5 version is now it possible to recover an accidentally deleted files from a project. If it is, I would really appreciate how to do it because I am pretty worried about it. Thanks in advance.
Is it possible to recover a deleted file from a project written in Spyder 5.1.5?