How c开发者_运维百科an I disable the Java editor breadcrumb in Eclipse?
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:
- Michael Borgwardt mentions the toolbar icon
- Slava Semushin provides a native shortcut based on Ctrl+3+
bread
, which points directly to theToggle 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
".
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)
That shortcut will make the breadcrumb bar appear/disappear at will.
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.
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
.
- RightClick on any icon on breadcrumb.
- There is an option named HIDE BREADCRUMB.
- Click it and you are done. :D
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)
Here it is :
In the toolbar, toggle bread crumb option.
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?
Change property breadcrumb.org.eclipse.jdt.ui.JavaPerspective
from true
to false
in your org.eclipse.jdt.ui.prefs
file.
In Juno: type 'Bread' and select 'Toggle Java Editor Breadcrumb'
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.
When you see the BreadCrumb toolbar, right-click on the green class icon and then from the menu options click on Hide Breadcrumb.
精彩评论