如何将 eclipse 重置为默认设置?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18069206/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How can I reset eclipse to default settings?
提问by TestBest
One of the top reasons I use an IDE editor is to get context information about the classes I am working on. Right now I have lost the java method context information, and have no idea where to reset it? I see an error displayed by eclipse on the line number as I am typing instead of the list of methods and signatures.
我使用 IDE 编辑器的主要原因之一是获取有关我正在处理的类的上下文信息。现在我丢失了java方法上下文信息,不知道在哪里重置它?我在键入时看到 eclipse 在行号上显示的错误,而不是方法和签名列表。
Android Developer Tools
Build: v22.0.4-741630
This product includes Eclipse Platform, JDT, CDT, EMF, GEF and WTP,
all of which are Copyright (c) Eclipse contributors and others.
Visit http://eclipse.org/
回答by Emmanuel Osimosu
Delete the .metadata
folder in your workspace.
删除.metadata
工作区中的文件夹。
回答by Jan Doerrenhaus
Yes, Eclipse can be a pain, as almost any IDE can. Please remain factual, however.
是的,Eclipse 可能会很痛苦,几乎所有 IDE 都会如此。但是,请保持事实。
Switching to a new workspace should help you. Eclipse has almost no settings that are stored outside your workspace.
切换到新的工作区应该会对您有所帮助。Eclipse 几乎没有存储在工作区之外的设置。
回答by swapyonubuntu
You can reset settings for eclipse by deleting .metadata folder from your current workspace.
您可以通过从当前工作区中删除 .metadata 文件夹来重置 eclipse 的设置。
This will however remove all projects from your project explorer NOT workspace.So dont worry your projects have not gone anywhere.
但是,这将从您的项目资源管理器而不是工作区中删除所有项目。所以不要担心你的项目没有去任何地方。
You can import projects from your workspace like this : just make sure that you uncheck"Copy project into workspace".
您可以像这样从工作区导入项目:只需确保取消选中“将项目复制到工作区”。
回答by RaM PrabU
All the setting are stored in .metadata filein your workspace delete this and you are good to go
所有设置都存储在您工作区的.metadata 文件中,删除它,您就可以开始了