Hey there! Let me share a crazy experience I had recently. I was working on a lengthy piece of code in a new file in VSCode. After spending hours p...
For further actions, you may consider blocking this person and/or reporting abuse
I created an account just to thank you.
I had an assignment with a controller file with over 500 lines of code, and I was helping my professor debug a PHP setup error and forgot to rename the dummy file. All my code was gone, I was devastated, went through total shock.
You saved my assignment, my time, and my mental health. Thank you for writing this, for sharing this. I wish the utter best for you.
I'm happy it worked for you! 🙌
It also works if you worked on a remote server. You opened files through Winscp, you edited them in VS Code (it opened and saved them in a temp directory). If something nasty happened on the server and you overwrote a file, you can recover it with the method here. Thanks Krzysztof!
Wow. Awesome you're sharing it! Thanks for info!
I have lost of all my files. It got Permanently deleted. Unable to recover from anywhere.
Finally able to recover all files because of this post.
Thanks to you and also to my brother Arvind who pointed out this post.
Thanks to VS code team too.
I accidentally did a git checkout but forgot to commit, all the files were replaced by the old version. Local History helped me restore everything! Thank you!
you could have just opened the trash bin and restored :) but yes this is easier
Good idea. I've tried it too, but the file wasn't in the trash. Likely, because I've accidentally removed it with some git command (but not regular "delete file" action in the system).
Amazing it works perfectly thanks for info.
thanks :")
Thank you , you saved my life
Thank you for the save 🙏
You're a superhero, you just saved me from depression 🤗 .
Thank you, you save my time <3 :)
You save my day ♥
*Your article saves my day too *
You just saved my life. Thanks
Thank you, you just saved my 2 weeks of work!
thanks bro you saved me
hhhh life saver I was about to go crazy
thanks.
I just can say... you saved me a day of work.