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
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 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! 🙌
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.
Amazing it works perfectly thanks for info.
Thank you , you saved my life
I just wanted to say a huge thank you for your post. I messed up my project and thought I lost everything, but your solution saved me! I can’t tell you how relieved I am.
thanks Krzysztof! 🙌🙌
Thanks for sharing your feelings! I can totally feel for you and could feel the same... twice 😅 - it happened to me once again a few months later after sharing this blogpost that I deleted my files once again 🙈)
By the way, just in case you'd like share your joy in other ways too, you might want to buy me a coffee: buymeacoffee.com/krisplatis 😉
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!
thanks :")
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).
thanks bro you saved me
hhhh life saver I was about to go crazy
*Your article saves my day too *
thanks.
I just can say... you saved me a day of work.
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 ♥
You just saved my life. Thanks
Thank you, you just saved my 2 weeks of work!