如何从 Eclipse Helios 中删除已删除的项目?
我已经删除了带有文件系统实用程序的项目文件夹,但它仍然列在 Eclipse Helios 的项目资源管理器中。如何从那里删除项目?
从 .metadata.plugins\org.eclipse.core.resources.projects 中删除没有帮助(即文件夹也从那里删除,但仍然在项目资源管理器中列出)。
I have deleted a project folder with filesystem utilities, but it is still listed in a project explorer of Eclipse Helios. How to delete project from there too?
Deletion from .metadata.plugins\org.eclipse.core.resources.projects does not help (i.e. folders are deleted from there too, but listed in project explorer nevertheless).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
解决方案是“刷新”项目资源管理器。不确定是否需要先删除文件夹,但完成后并刷新后,Eclipse 明确要求删除缺失的项目。
The solution was to "refresh" project explorer. Not sure if it is required to delete folders first, but after it was done and after refresh, Eclipse explicitly asked to remove absent projects.
您不能右键单击项目资源管理器并选择删除吗?
将来,使用 Eclipse 选项删除项目(它还为您提供了是否从文件系统中删除的选项)。
Can't you just right click in the project explorer and select delete?
In future, use the Eclipse option to delete projects (it also gives you the option of deleting from the file system or not).
当您删除了项目,但没有单击“删除磁盘上的项目内容(无法撤消)”时,可能会出现此问题。该项目处于一种悬而未决的状态。
如果您收到此项目的错误报告,请在“问题”选项卡中单击“资源”行和“显示在...”项目资源管理器。现在你真的可以删除它了。
The problem can arise when you have deleted a project, but did not click the "delete project contents on disk(cannot be undone)". The project exists in a kind of limbo.
If you get errors reported on this project, then in the "Problems" tab click on the "Resources" line and "Show in.." project explorer. Now you can really delete it.