简体   繁体   English

Eclipse正在创建旧文件夹,而不是使用新文件夹

[英]Eclipse is creating an old folder instead of using the new one

I used to have Eclipse in a folder but then I decided to move the folder for Eclipse into a different folder. 我曾经将Eclipse放在一个文件夹中,但是后来我决定将Eclipse的文件夹移到另一个文件夹中。 I deleted the old folder because I no longer needed it. 我删除了旧文件夹,因为不再需要它。 Now Eclipse creates the old folder it used to be located in every time I start Eclipse. 现在,Eclipse创建了我每次启动Eclipse时都位于的旧文件夹。

Just to be clear: Eclipse is in folder "eclipse stuff" which got moved from folder A to folder B (both are on the Desktop) and folder A got deleted and now when Eclipse is opened it creates "Desktop\\A\\eclipse stuff\\" with a sequence of folders within it. 只需说明一下:Eclipse位于文件夹“ eclipse stuff”中,该文件夹已从文件夹A移至文件夹B(均在桌面上),文件夹A被删除,现在打开Eclipse时,它会创建“ Desktop \\ A \\ eclipse stuff \\ ”,其中包含一系列文件夹。

My best guess is it is storing default settings in there (based on the names of the things in the folders) and that the directory it stores these "default settings" in is somewhere in Eclipse's settings. 我最好的猜测是它将默认设置存储在其中(基于文件夹中事物的名称),并且将这些“默认设置”存储在其中的目录位于Eclipse的设置中。 I don't know what settings it would be in. How can I change this setting? 我不知道它将使用什么设置。如何更改此设置?

You need to switch the workspace. 您需要切换工作区。 File -> Switch Workspace -> other and choose the new folder. File -> Switch Workspace -> other然后选择新文件夹。 Restarting should preserve the new default workspace. 重新启动应保留新的默认工作空间。 If not, you can also delete old workspace locations in Eclipse setting: Window -> Preferences => General -> Startup and Shutdown -> Workspaces contains a list of all known workspaces. 如果不是,您还可以在Eclipse设置中删除旧的工作区位置: Window -> Preferences => General -> Startup and Shutdown -> Workspaces包含所有已知工作区的列表。 You can delete it there. 您可以在那里删除它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Eclipse 中创建一个包,相当于创建一个新文件夹吗? - Is creating a package in Eclipse, equivalent of creating a new folder? 在Eclipse中自动用新导入覆盖旧导入 - automatically overwrite old imports with new one in Eclipse 使用Eclipse创建新的android项目后,Eclipse中的SRC文件夹为空(未创建MainActivity类) - SRC folder in Eclipse is empty (MainActivity class not created) after creating a new android project using Eclipse 使用旧功能和插件进行新的Eclipse安装 - New eclipse installation using old features and plugins 即使在构建新代码之后,Eclipse也会运行旧代码 - Eclipse runs old code even after building the new one 将现有项目导入eclipse,它将旧版本与新版本自动结合 - Import existing project into eclipse, it auto combine old version with the new one Eclipse在“ / res”下为Android开发创建新的“ menu”文件夹时崩溃 - Eclipse crashes on creating a new “menu” folder under “/res” for android development 在创建新的maven项目时eclipse中的双源文件夹 - Double source folder in eclipse when creating new maven project 使用Eclipse为Scala创建新的SBT项目 - Creating new SBT project for Scala using Eclipse 如何升级新版本的 Eclipse 而不是使用新下载的包? - How to upgrade new version of Eclipse instead of using new downloaded package?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM