Lost code lines when Notepad++ crashed

前端 未结 9 1466
星月不相逢
星月不相逢 2020-12-04 10:56

I was working on a .js file this morning on Notepad++, as usual, when the program just crashed. So I ended it, and re-opened it to see that all my code lines in my .js file,

9条回答
  •  离开以前
    2020-12-04 11:45

    I've used notepad++ without any backup for years. One day this happen to me, too.

    Here is what I've found as possible solutions:

    http://buffernow.com/notepad-plus-crash-recover-your-lost-file/ (similar to Indrajit answer) - not much help. I didn't find my file there.

    I have recovered my file one week ago as per answer of Hvck

    Same problem here. Same answers: https://superuser.com/questions/390204/how-to-restore-a-previous-version-of-file-in-notepad

    One lesson learned: Use the backup!

    1. use a plugin: http://www.ilovefreesoftware.com/12/windows/two-plugins-auto-save-files-notepad-auto-save-autosave2.html

    2. use notepad++ backup http://allinworld99.blogspot.ca/2015/01/notepad-backup-files.html

    ** UPDATE **

    It happened to me again!!! Another way to recover my file: View source on my browser and resave the file to other location. If you are lucky enough to have the file loaded in your browser :) It worked for me for a css file and for a js file.

    Comparing the files: what N++ backed-up and the file from browser and files are matching. OMG!

提交回复
热议问题