Hiding Duplicate Toolbars Items in Eclipse(在 Eclipse 中隐藏重复的工具栏项)
问题描述
我不知道怎么做,但是我的 STS 有重复的工具栏项目,我不知道如何删除它们.这是我复制的工具栏的样子.
I don't know how, but my STS has got duplicate toolbars items and I am not sure how to remove them. Here is how my duplicated toolbar looks like.
我想摆脱这些.我试图隐藏工具栏,但没有帮助.有人知道如何摆脱重复的吗?
I want to get rid of these. I tried to hide the toolbar but that didn't help. Does anybody have any idea how to get rid of the duplicate ones?
推荐答案
自从升级到 Oxygen 后,我一直遇到同样的问题.我无法可靠地重现该问题.
I've been having the same problem since upgrading to Oxygen. I haven't been able to reliably reproduce the issue.
@howlger 建议的解决方法有帮助,而且比吹走整个工作区更不打扰:
The workaround suggested by @howlger has helped and is less intrusive than blowing away the entire workspace:
- 关闭 Eclipse.
- 在 Eclipse 工作区目录中,删除
.metadata.pluginsorg.eclipse.e4.workbenchworkbench.xmi文件或只是重命名它,以便在需要时将其恢复恢复. - 打开 Eclipse.
- 根据自己的喜好重新排列 UI 元素.
- Close Eclipse.
- In the Eclipse workspace directory, delete the
.metadata.pluginsorg.eclipse.e4.workbenchworkbench.xmifile or just rename it so you can bring it back in case you need to revert. - Open Eclipse.
- Rearrange the UI elements to your liking.
这很痛苦,但确实会从工具栏中删除重复的元素.
This is a pain, but does remove the duplicate elements from toolbars.
我还发现自定义透视不适用于重复项,但适用于非重复项:
I also found that customizing the perspective doesn't work for duplicated items, but does for non-duplicated:
- 窗口 -> 透视图 -> 自定义透视图...
- 在工具栏可见性"标签上,取消选择使工具栏变得混乱的项目.
这篇关于在 Eclipse 中隐藏重复的工具栏项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Eclipse 中隐藏重复的工具栏项
基础教程推荐
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 从 python 访问 JVM 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
