Notepad ++崩溃时丢失代码行 [英] Lost code lines when Notepad++ crashed

查看:122
本文介绍了Notepad ++崩溃时丢失代码行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天早上,当程序刚崩溃时,我像往常一样在Notepad ++上处理.js文件.所以我结束了它,然后重新打开它,发现我的.js文件中的所有代码行都消失了,现在剩下的就是大小为0kb的文件,因为其中没有任何内容.那到底怎么可能呢?它清除了我键入的所有内容并保存了文件,就好像其中没有任何内容一样.

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...

推荐答案

启用该选项(默认情况下)时,Notepad ++会保留您编辑的文件的备份副本.

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

您可以在目录%APPDATA%\ Notepad ++ \ backup 中以格式filename@datetime找到备份.

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

这篇关于Notepad ++崩溃时丢失代码行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆