如何在 Eclipse 中禁用面包屑
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3069589/
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 to disable breadcrumbs in Eclipse
提问by Muhammad Hewedy
How can I disable the Java editor breadcrumbin Eclipse?
如何在 Eclipse 中禁用Java 编辑器面包屑?
回答by VonC
If you are referring to the breadcrumbs in the help file of a RCP application, there is onlya manual way to do it.
如果您指的是 RCP 应用程序帮助文件中的面包屑,则有 只要一种手动方式来做到这一点。
Since Ganymede 3.4M5:
从木卫三 3.4M5 开始:
- Michael Borgwardtmentionsthe toolbar icon
- Slava Semushinprovidesa native shortcut based on Ctrl+3+
bread
, which points directly to theToggle Java Editor Breadcrumb
option. - Shachireminds us belowthat you can right-click on any icon on the breadcrumb, and select the entry named "
Hide Breadcrumb
".
- Michael Borgwardt提到了工具栏图标
- 斯拉瓦Semushin提供基于天然快捷Ctrl+ 3+
bread
,这直接指向Toggle Java Editor Breadcrumb
选项。 - Shachi在下面提醒我们,您可以右键单击面包屑上的任何图标,然后选择名为“
Hide Breadcrumb
”的条目。
Original answer (manual way, through key mapping)
原始答案(手动方式,通过按键映射)
Find the file
org.eclipse.help.webapp\advanced\breadcrumbs.css
and replace its contents with.
找到该文件
org.eclipse.help.webapp\advanced\breadcrumbs.css
并将其内容替换为。
.help_breadcrumbs {
display: none;
}
For the Java Editor breadcrumb, you need to assign a shortcut to the "Toggle Java Editor Breadcrumb" command (I have tested Alt+B, for instance)
对于 Java 编辑器面包屑,您需要为“切换 Java 编辑器面包屑”命令分配一个快捷方式(例如,我已经测试了Alt+ B)
That shortcut will make the breadcrumb bar appear/disappear at will.
该快捷方式将使面包屑栏随意出现/消失。
回答by Michael Borgwardt
With the editor window focussed, look for this icon in your toolbar:
聚焦编辑器窗口后,在工具栏中查找此图标:
And click on it. That's all. The icon is present by default, but can be deactivated, in which case you have to activated as in MvanGeest's answer.
并点击它。就这样。该图标默认存在,但可以停用,在这种情况下,您必须按照 MvanGeest 的回答进行激活。
回答by Slava Semushin
Another way which works for me at Eclipse Indigo (3.7): press Ctrl+3and type bread
, after that click on item Toggle Java Editor Breadcrumb
.
在 Eclipse Indigo (3.7) 中对我有用的另一种方法:按Ctrl+3并键入bread
,然后单击 item Toggle Java Editor Breadcrumb
。
回答by Shachi
- RightClickon any icon on breadcrumb.
- There is an option named HIDE BREADCRUMB.
- Click itand you are done. :D
- 右键单击面包屑上的任何图标。
- 有一个名为HIDE BREADCRUMB的选项。
- 单击它,您就完成了。:D
回答by William Leara
Look for this icon in the toolbar:
在工具栏中查找此图标:
This button toggles the Breadcrumb view on/off.
此按钮可打开/关闭面包屑导航视图。
(I'm using Eclipse 3.7, and it's there by default)
(我使用的是 Eclipse 3.7,默认情况下它就在那里)
回答by MvanGeest
Something like http://loadcontext.blogspot.com/2008/08/eclipse-34-breadcrumbs-hide-and-show.html?
像http://loadcontext.blogspot.com/2008/08/eclipse-34-breadcrumbs-hide-and-show.html 之类的东西?
Customize Perspective, choose the Commands tab. In the Available command group, choose Java Editor Presentation. The Toolbar details shows the button for Toggle Breadcrumbs, which looks like a folder with a C in a circle with a black triangle on top of it.
自定义透视,选择命令选项卡。在可用命令组中,选择 Java Editor Presentation。工具栏详细信息显示了切换面包屑的按钮,它看起来像一个文件夹,上面有一个圆形的 C,上面有一个黑色三角形。
Despite my absolute lack of experience with Eclipse, I suppose this setting must appear in other Presentation items too. After the button's enabled, all you have to do is click it. Or not?
尽管我绝对缺乏 Eclipse 的经验,但我想这个设置也必须出现在其他 Presentation 项目中。启用按钮后,您所要做的就是单击它。或不?
回答by Marcin Krupa
Change property breadcrumb.org.eclipse.jdt.ui.JavaPerspective
from true
to false
in your org.eclipse.jdt.ui.prefs
file.
将文件中的属性breadcrumb.org.eclipse.jdt.ui.JavaPerspective
从更改true
为。false
org.eclipse.jdt.ui.prefs
回答by Ustin
In Juno: type 'Bread' and select 'Toggle Java Editor Breadcrumb'
在 Juno 中:输入“Bread”并选择“Toggle Java Editor Breadcrumb”
回答by amk
When you see the BreadCrumb toolbar, right-click on the green class icon and then from the menu options click on Hide Breadcrumb.
当您看到 BreadCrumb 工具栏时,右键单击绿色类图标,然后从菜单选项中单击 Hide Breadcrumb。