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.xmi
file 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 中隐藏重复的工具栏项


基础教程推荐
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- 降序排序:Java Map 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01