Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lost code lines when Notepad++ crashed

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, had disappeared, and now all I have left is the file with a size of 0kb because there's nothing left in it. How the hell is that even possible ? It erased everything I typed and saved the file as if there's nothing in it.

Do you know a way to get my code back ? Or did something like this ever happened to someone ? :/ I'm kinda worried because there was a lot of work there and I don't feel like re-typing it all...

like image 249
Netero_sama Avatar asked Jun 11 '14 08:06

Netero_sama


People also ask

Can we recover unsaved Notepad ++ file?

Recover Unsaved or Deleted Notepad ++ files without Backup txt files or you lose unsaved Notepad++ files, you can restore form backup. However, if backup files cannot be found on PC you can use professional data recovery software- Recoverit Data Recovery and recover unsaved files.

Where are unsaved notepad stored?

Where does Notepad store unsaved files? Notepad usually stores unsaved files in C:\Users\Username\AppData\Roaming.

Does notepad save temp files?

Notepad doesn't have an auto-save function. So when you close an unsaved text document, it may be impossible for you to get it back. But you still have a chance to recover unsaved Notepad files from the temporary files since the contents of the Notepad files have been saved on your computer temporarily.


1 Answers

When that option is enabled (and it is by default), Notepad++ keeps a backup copy of files you edit.

You can find the backups in the directory %APPDATA%\Notepad++\backup under the format filename@datetime.

like image 77
Indrajit Avatar answered Sep 24 '22 08:09

Indrajit