如何在 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

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

How to disable breadcrumbs in Eclipse

eclipsebreadcrumbs

提问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 开始

Initial Breadcrump GUI

初始面包屑 GUI

  • Michael Borgwardtmentionsthe toolbar icon dd
  • Slava Semushinprovidesa native shortcut based on Ctrl+3+bread, which points directly to the Toggle Java Editor Breadcrumboption.
  • Shachireminds us belowthat you can right-click on any icon on the breadcrumb, and select the entry named "Hide Breadcrumb".

Hide breadcrumbs

隐藏面包屑



Original answer (manual way, through key mapping)

原始答案(手动方式,通过按键映射)

Find the file org.eclipse.help.webapp\advanced\breadcrumbs.cssand 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

alt text

替代文字

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: button to click

聚焦编辑器窗口后,在工具栏中查找此图标: 按钮点击

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

  1. RightClickon any icon on breadcrumb.
  2. There is an option named HIDE BREADCRUMB.
  3. Click itand you are done. :D
  1. 右键单击面包屑上的任何图标。
  2. 有一个名为HIDE BREADCRUMB的选项。
  3. 单击它,您就完成了。:D

回答by William Leara

Look for this icon in the toolbar:
button to click

在工具栏中查找此图标:
按钮点击

This button toggles the Breadcrumb view on/off.

此按钮可打开/关闭面包屑导航视图。

(I'm using Eclipse 3.7, and it's there by default)

(我使用的是 Eclipse 3.7,默认情况下它就在那里)

回答by manoj

Here it is : enter image description here

这里是 : 在此处输入图片说明

enter image description here

在此处输入图片说明

In the toolbar, toggle bread crumb option.

在工具栏中,切换面包屑选项。

回答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.JavaPerspectivefrom trueto falsein your org.eclipse.jdt.ui.prefsfile.

将文件中的属性breadcrumb.org.eclipse.jdt.ui.JavaPerspective从更改true为。falseorg.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。