如何在 Eclipse 中禁用面包屑导航

发布于 2024-09-06 07:33:24 字数 167 浏览 2 评论 0原文

如何在 Eclipse 中禁用 Java 编辑器面包屑导航?

输入图像描述这里

How can I disable the Java editor breadcrumb in Eclipse?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(11

梦幻的心爱 2024-09-13 07:33:24

如果您引用 RCP 应用程序帮助文件中的面包屑,则一个 手动方式

木卫三3.4M5

初始面包屑 GUI

Hide breadcrumbs


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

找到文件 org.eclipse.help.webapp\advanced\breadcrumbs.css 并将其内容替换为。

.help_breadcrumbs {
   display: none;
}

对于 Java 编辑器面包屑,您需要为“切换 Java 编辑器面包屑”命令分配一个快捷方式(例如,我测试了 Alt+B

alt text

该快捷方式将使面包屑栏随意出现/消失。

If you are referring to the breadcrumbs in the help file of a RCP application, there is only a manual way to do it.

Since Ganymede 3.4M5:

Initial Breadcrump GUI

  • Michael Borgwardt mentions the toolbar icon dd
  • Slava Semushin provides a native shortcut based on Ctrl+3+bread, which points directly to the Toggle Java Editor Breadcrumb option.
  • Shachi reminds us below that 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.css and replace its contents with.

.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)

alt text

That shortcut will make the breadcrumb bar appear/disappear at will.

苍暮颜 2024-09-13 07:33:24

聚焦编辑器窗口后,在工具栏中查找此图标: button to click

并单击它。就这样。该图标默认存在,但可以停用,在这种情况下,您必须按照 MvanGeest 的答案激活。

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.

一枫情书 2024-09-13 07:33:24

在 Eclipse Indigo (3.7) 中适用的另一种方法:按 Ctrl+3 并输入 bread,然后单击项目 切换 Java 编辑器面包屑导航

Another way which works for me at Eclipse Indigo (3.7): press Ctrl+3 and type bread, after that click on item Toggle Java Editor Breadcrumb.

待"谢繁草 2024-09-13 07:33:24
  1. 右键单击面包屑上的任何图标。
  2. 有一个名为隐藏面包屑的选项。
  3. 点击它,您就完成。 :D
  1. RightClick on any icon on breadcrumb.
  2. There is an option named HIDE BREADCRUMB.
  3. Click it and you are done. :D
蓝颜夕 2024-09-13 07:33:24

在工具栏中查找此图标:
button to click

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

(我使用的是 Eclipse 3.7,默认情况下)

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)

捎一片雪花 2024-09-13 07:33:24

这是: 在此处输入图像描述

在此处输入图像描述

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

Here it is : enter image description here

enter image description here

In the toolbar, toggle bread crumb option.

执手闯天涯 2024-09-13 07:33:24

类似于 http://loadcontext.blogspot.com /2008/08/eclipse-34-breadcrumbs-hide-and-show.html

自定义视角,选择
命令选项卡。在可用命令中
组,选择 Java 编辑器
推介会。工具栏详细信息
显示切换按钮
面包屑,看起来像一个文件夹
圆圈内有一个 C,圆圈内有一个黑色
其顶部的三角形。

尽管我完全缺乏 Eclipse 的经验,但我认为此设置也必须出现在其他演示项目中。启用该按钮后,您只需单击它即可。或不?

Something like 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.

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?

猫性小仙女 2024-09-13 07:33:24

将属性 breadcrumb.org.eclipse.jdt.ui.JavaPerspectivetrue 更改为 false
在您的 org.eclipse.jdt.ui.prefs 文件中。

Change property breadcrumb.org.eclipse.jdt.ui.JavaPerspective from true to false
in your org.eclipse.jdt.ui.prefs file.

禾厶谷欠 2024-09-13 07:33:24

在 Juno 中:输入“Bread”并选择“切换 Java 编辑器面包屑”

In Juno: type 'Bread' and select 'Toggle Java Editor Breadcrumb'

喵星人汪星人 2024-09-13 07:33:24

这非常简单,只需右键单击您的类编辑器,然后选择面包屑,或者直接右键单击工具栏中的类顶部,然后选择隐藏面包屑,然后就完成了。

It very simple just right click in your class editor then select bread crumb or directly right click in top of your class in tool bar then select hide breadcrumb then its done.

江心雾 2024-09-13 07:33:24

当您看到“面包屑”工具栏时,右键单击绿色类图标,然后从菜单选项中单击“隐藏面包屑”。

When you see the BreadCrumb toolbar, right-click on the green class icon and then from the menu options click on Hide Breadcrumb.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文