检索/恢复已删除的 Netbeans 项目

发布于 2024-07-21 20:13:43 字数 118 浏览 15 评论 0原文

我正在处理我的 Netbeans 项目,不小心删除了它,并且不知道如何恢复它。

是否有一个 tmp 文件夹存储已删除的项目。

或者我永远注定了?

谢谢, 卢卡斯

I was just working on my Netbeans project and accidentally deleted it and don't know how to recover it.

Is there a tmp folder that the deleted project is stored in.

Or am I forever doomed?

Thanks,
Lucas

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

橘味果▽酱 2024-07-28 20:13:43

不要恐慌。 这很容易。 请按照以下步骤操作:

  1. 右键单击已删除文件的文件夹/目录。

  2. 选择本地历史记录 - 恢复已删除

  3. 完成

Do not panic. Its very easy. Follow the steps:

  1. Right click on the folder/directory that the files had been deleted.

  2. Choose Local History – Restore Deleted

  3. Done

农村范ル 2024-07-28 20:13:43

如果您不小心删除了Netbean上的文件夹,恢复方法如下。 您无法恢复已删除的文件夹,但可以恢复已删除的文件。 按着这些次序。

  1. 重新创建您在 Netbean 项目中删除的文件夹。 (您可能无法在 Netbean 中创建该文件夹,在这种情况下,您可以使用 mkdir 命令创建该文件夹)
  2. 在 Netbeans 中右键单击该文件夹,然后转到“历史记录”->“历史记录”->“历史记录”。 恢复已删除(您应该看到与该特定文件夹相关的已删除文件的列表。
  3. 对每个文件夹和子文件夹重复

注意:我不知道这是否适用于 Windows,我知道它在 Linux 上适用于我。我也不知道不知道关闭 Netbeans 后这是否有效,

希望对某人有所帮助。

If you accidentally delete a folder on Netbean, the way to recover it is as follows. You can't revert deleted folders but you can revert deleted files. Follow these steps.

  1. Recreate the folder you deleted in your Netbean project. (You may not be able to create the folder within Netbean, in that case you can use mkdir command to create the folder )
  2. Right click that folder in Netbeans and go to History -> revert deleted (you should see a list of deleted files that relate to that particular folder.
  3. Repeat for each folder and sub-folder

Note: I do not know if this works on windows, I know it worked for me on Linux. I also don't know if this works after you have closed Netbeans.

hope it helps someone.

烟花肆意 2024-07-28 20:13:43

你有一个在netbeans中删除包/目录/文件的问题吗?
不要惊慌,这很简单:

  1. 打开你的netbeans IDE,
  2. 转到项目,
  3. 转到项目文件夹所在的包
  4. ,右键单击它
  5. ,转到本地历史记录,然后转到恢复已删除,
  6. 就完成了。 稍等!

我想这会对你有帮助。
请享受您的代码。

You have a problem of package/directory/file deleted in netbeans?
Don't panic it is simple just:

  1. open your netbeans IDE
  2. go to projects
  3. go to the package where your project folder was
  4. right click on it
  5. go to local history, then go to revert deleted
  6. it is done. Wait a moment!

I think it will help you.
Enjoy your code please.

記憶穿過時間隧道 2024-07-28 20:13:43

我第一次开始使用 Visual C# 打开IDE和制作小程序无需保存。 所有文件都存储在临时文件夹中,退出 Visual C# 会擦除它们。 只需进行 recuva 扫描并按修改时间对找到的文件进行排序。 删除的文件是可以恢复的,但覆盖的文件则不同,因此请尽快运行该程序。

http://www.recuva.com/

saved me countless times when I first started with Visual C# opening the IDE and making mini programs without saving. All your files are stored in a temporary folder and exiting Visual C# wipes them. Just do a recuva scan and sort files found by modification time. Deleted files are recoverable, overwritten files however are a different story, so run the program as soon as possible.

她说她爱他 2024-07-28 20:13:43

实际上,比尝试加载 netbeans 项目资源管理器中不存在的项目更容易。

如果您本地仍然有这些文件,只需选择“打开项目”,您丢失的项目就会恢复到 netbeans 的项目资源管理器中。

Actually, easier then trying to load a project that does not exist in the project explorer of netbeans.

If you still have the files locally, just choose Open Project and your lost project will be restored to the Project explorer of netbeans.

耳钉梦 2024-07-28 20:13:43

不知道有没有temp文件夹。 Windows 搜索引擎无法找到它。 如果使用安全删除删除源文件;

在 Netbeans 上,Refactor-Undo[安全删除]选项可用于恢复...

I don't know if there is a temp folder. Windows search engine doesn't work to find it. If you delete the source file by using safely delete;

On Netbeans Refactor-Undo[Safely Delete] option can be used to recover...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文