Eclipse:如何恢复透视图中的默认设置?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11074213/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 18:22:59  来源:igfitidea点击:

Eclipse : How to restore default settings in perspectives?

androideclipse

提问by peter.murray.rust

I have lost the "debug" panel/toolbar (with the yellow curly arrow step tools) in my Eclipse debug perspective and cannot get it back.

我在 Eclipse 调试透视图中丢失了“调试”面板/工具栏(带有黄色卷曲箭头步骤工具)并且无法找回。

Clicking the Window | Show View | Debug (beetle) seems to do nothing.

单击窗口 | 显示视图 | 调试(甲虫)似乎什么都不做。

How can I get it back, or restore the default settings (without altering anything else)?

我怎样才能恢复它,或者恢复默认设置(不改变任何其他东西)?

采纳答案by Zoltán Ujhelyi

If the Show view/Debug seems to do nothing, then the view is already visible, that is the main reason it seems to do nothing.

如果 Show view/Debug 似乎什么都不做,那么该视图已经可见,这就是它似乎什么都不做的主要原因。

Maybe your view is not visible because you have moved the view into a hover window (by selecting Detach view from the popup menu of the View header), or turned it into a quick view (in this case the view is shown somewhere on the statusbar in an icon - by default in the lower left corner of the window). If that is the case, then try to move back the Debug view.

也许您的视图不可见,因为您已将视图移动到悬停窗口中(通过从视图标题的弹出菜单中选择分离视图),或将其转换为快速视图(在这种情况下,视图显示在状态栏的某处)在一个图标中 - 默认情况下在窗口的左下角)。如果是这种情况,请尝试移回 Debug 视图。

Have you tried Reset perspective from the Window menu (of course, when the Debug perspective is active)? This restores the default layout of the Debug perspective, every other setting remains.

您是否尝试过从窗口菜单中重置透视图(当然,当调试透视图处于活动状态时)?这将恢复 Debug 透视图的默认布局,所有其他设置都保留。

My other idea is that you are using the newest Eclipse 3.8/4.2, where a new feature is available to put these icons to the main toolbar: see following post for details.

我的另一个想法是,您使用的是最新的 Eclipse 3.8/4.2,其中有一项新功能可以将这些图标放置在主工具栏上:有关详细信息,请参阅以下帖子

回答by Azhar

If your Eclipse got messed-up due to any reason. just try

如果您的 Eclipse 由于任何原因搞砸了。你试一试

Window-> Reset Perspective

Window-> Reset Perspective

and it will reset the layout to the below pic.

它会将布局重置为下图。

enter image description here

在此处输入图片说明

回答by Christian IC

If you want restore then you should delete in

如果你想恢复那么你应该删除

cd %USERPROFILE%\eclipse-workspace\

the folder

文件夹

.metadata

.元数据