[英]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.