Lost code lines when Notepad++ crashed

前端 未结 9 1451
星月不相逢
星月不相逢 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:52
    • Notepad doesn't auto-save its open file so unfortunately you have lost your work.
    • On next time you can use Notepad++ it retrieves file automatically
    • Refer this link may it help you Notepad++ recovery
    0 讨论(0)
  • 2020-12-04 11:53

    GO to Taskbar click and run %APPDATA%, click to Notepad++ click to backup.

    Your files saved by filename.extensionname@year-month-date_time

    0 讨论(0)
  • 2020-12-04 11:54

    I know it's too late to answer this, but maybe my answer will help others.

    I've encountered the same problem recently. Then it became regular. I did not find a solution to the problem itself, plus it may be caused by many different reasons, so probably no universal solution exists.

    However, there is a way to save your files while notepad++ is not closed. Even if the backups folder is empty.

    First of all, do not close notepad++. Open a taskmanager, find the notepad++ process and locate the Dump or Create dump file option. Click it. This will create a whole memory dump of the process. This dump will contain the documents you had opened. However you may need to find this data, plus it may be in a different encoding. I guess it is in UTF8 most of the time, but I am not completely sure.

    The dump file can be examined with simple programs like notepad++ itself or with a hex editor.

    0 讨论(0)
提交回复
热议问题