简体   繁体   English

Eclipse 中的透视切换窗格消失

[英]Perspective Switching Pane Gone in Eclipse

The little Perspective Switching Pane is gone from the upper right hand corner of my Eclipse Window after an Eclipse crash. Eclipse 崩溃后,小透视切换窗格从我的 Eclipse Window 的右上角消失了。 I downloaded the newest version and tried opening that (with my same workspace), but the buttons are still gone.我下载了最新版本并尝试打开它(使用相同的工作区),但按钮仍然消失。

Here is a screenshot:这是一个屏幕截图:

全窗口

And zoomed in:并放大:

放大

Any ideas?有任何想法吗?

I can still switch perspectives by selecting Window->Open Perspective我仍然可以通过选择 Window->Open Perspective 来切换视角

Thanks谢谢

It's not just the perspective switcher that's missing, it looks to me;这不仅仅是缺少透视切换器,在我看来; there's no tool bars, ether.没有工具栏,以太。

You might check Window..Preferences..General..Appearance, and fiddle around with the Perspective Switcher control, see if that makes a difference.您可以检查 Window..Preferences..General..Appearance,并摆弄 Perspective Switcher 控件,看看是否有区别。

You could also use Window..Customize Perspective and see if anything looks interesting there.你也可以使用 Window..Customize Perspective 看看有没有什么有趣的地方。

Try Window > Reset Perspective...尝试 Window > 重置视角...

Related.有关的。 I had my switching pane disabled (I think I moved it by mistake and I could not see it anywhere) although the tool bar was there.尽管工具栏在那里,但我禁用了切换窗格(我认为我错误地移动了它,并且在任何地方都看不到它)。 The only way I could get it back was to disable themes on Windows -> Preference -> General -> Appearance -> Enable theming.我能找回它的唯一方法是禁用 Windows -> Preference -> General -> Appearance -> Enable theming 上的主题。

Using 2022-06 (4.24.0), mine also disappeared.使用 2022-06 (4.24.0),我的也消失了。

I was only able to get the buttons back by我只能通过

  • right-clicking and "unlock the toolbar"右键单击并“解锁工具栏”
  • Window->perspective->open perspective->other窗口->透视->打开透视->其他

After opening each of my favorite perspectives, the buttons "stuck to the bar" then I locked it again when I was done.打开每个我最喜欢的视角后,按钮“卡在栏上”,然后我在完成后再次锁定它。

Another possibility is to delete the workbench.xml from [workspace]\.metadata\.plugins\org.eclipse.ui.workbench , which forces the platform to reset the workbench-layout.另一种可能性是从[workspace]\.metadata\.plugins\org.eclipse.ui.workbench中删除workbench.xml ,这会强制平台重置工作台布局。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM