如何在Eclipse中删除工作区? [英] How to delete a workspace in Eclipse?

查看:289
本文介绍了如何在Eclipse中删除工作区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Eclipse中删除工作区?

How to delete a workspace in Eclipse?

推荐答案

只需删除整个目录即可。这将删除所有项目,而且将删除工作区的Eclipse缓存和设置。这些保存在Eclipse工作区的 .metadata 文件夹中。请注意,您可以将Eclipse配置为使用工作空间文件夹之外的项目文件夹,因此您可能需要验证每个项目的位置。

Just delete the whole directory. This will delete all the projects but also the Eclipse cache and settings for the workspace. These are kept in the .metadata folder of an Eclipse workspace. Note that you can configure Eclipse to use project folders that are outside the workspace folder as well, so you may want to verify the location of each of the projects.

您可以通过进入首选项的常规/启动和关闭/工作区部分,从建议的工作区中删除工作空间(通过首选项>一般>启动和休眠>工作区> [删除])。请注意,这不会删除文件本身。对于旧版本的Eclipse,您需要在配置/ .settings org.eclipse.ui.ide.prefs 文件$ c>目录在您的安装目录下(或在$ code>〜/ .eclipse 在Unix,IIRC)。

You can remove the workspace from the suggested workspaces by going into the General/Startup and Shutdown/Workspaces section of the preferences (via Preferences > General > Startup & Shudown > Workspaces > [Remove] ). Note that this does not remove the files itself. For old versions of Eclipse you will need to edit the org.eclipse.ui.ide.prefs file in the configuration/.settings directory under your installation directory (or in ~/.eclipse on Unix, IIRC).

这篇关于如何在Eclipse中删除工作区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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