Remove Project explorer from rdditor [duplicate] - java

How can 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 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".
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.

Related

I have hidden a "toolbar" panel on NetBeans and i dont know how to active it again

I don't know what I did with one of my "toolbars" on NetBeans and now its hidden.
I want it to be displayed again.
This is the toolbar that I want to be displayed:
You have to re-activate it in menu -> view -> Show Editor Toolbar.
Check that option and the toolbar should be displayed properly again.
There are more ways to do it, but this is the easy way.
If you have a faulty toolbar (or you're missing the main one) and cannot access the Window -> Reset Windows function go to:
..\AppData\Roaming\NetBeans\8.2\config
and delete the Windows2Local folder (this one is for 8.2 version, but should be similar). Then restart the IDE.

Eclipse right click new project preferences

Well, honestly, it is a simple question I can't find on eclipse nor google.
I am a lazy dev and want to add the Maven Projectoption to my [right click]->New->(Maven Project). But can't find an option in the preferences. Every Javaproject I create is a maven project (DM FTW, YEA!)
In PHPStorm I can simply add/edit an entry in a config section and I am done. It gets added to any "New" context.
Can I do something like that in eclipse? Add completely new "New..." entries to create a templated new file type and (the original topic) can I add another menu entry without writing a plugin?
Thank you in advance!
open eclipse, then go to Window menu, select Customize perspective...
a windows appears. it has for tabs.
Tool bar visiblity
Menu visiblity
Command Groups Availablity
Shortcuts
select Menu visiblity tab, it will shows all menus with tree view.
then expand tree view of File then do same for the New which is sub tree of File.
now select All of those project types that you want, then click Ok.
The concept is:
new means creating a bare project begining from zero,
adding means import some project that you/other have/has started...
in eclipse import is the menu you need to click to, then maven, then select the proj option the best fits you...

Installed dark theme in eclipse, but scrollbars is still grey

I am using Eclipse Luna(4.4.0) and trying to make it completely dark. So I Installed a theme plugin:
Eclipse menu -> Help -> Eclipse Marketplace, search "Eclipse Color Theme Plugin"
In “Windows Preferences”, selected the “Dark” theme and
Eclipse menu -> Window -> Preference -> General -> Appearance -> Color Theme,
choosed “sublime Text 2″. Done, I'm just changed everything to “Dark”.
But, scrollbars is still grey
Does anybody know how to make it dark too?
Thanks in advance!!
Eclipse's built in dark theme is very problematic.
Check out the DevStyle plugin from Eclipse marketplace. It creates dark themes up to par with other IDEs like IntelliJ.
https://marketplace.eclipse.org/content/darkest-dark-theme-devstyle
For all mac users out there, you can change it in system preferences:
Apple menu > System Preferences, then click General > Show scroll bars
Select “Automatically based on mouse or trackpad.” i voila :)
cmd+space
System Preferences
General
Show scroll bars: "When scrolling" (see screenshot)
In my opinion though, this isn't a great solution because you don't see the scroll bar sometimes and sometimes it still shows the bright grey scroll bar depending on where you put your mouse.
If you want to get rid of that scrollbar, enable Show whitespace characters in
Preferences > General > Editors > Text Editors

Eclipse plugin Based menu development

I have enabled a new menu through plugin.xml using menuContribution, now I want to change the color and size of the text in this menu, how can I do this?
I don't think there is an API to change color/font on org.eclipse.swt.widgets.MenuItem

Shortcut key to activate project explorer in Eclipse

I am unable to find out the shortcut key to activate the project explorer in eclipse. I usually use cmd+F12 key to activate the editor, however i have to rely on mouse to move to a project explorer.
Is there a shortcut key available for that ? If not can it be configured ?
Go to Window --> Preferences --> Click on General --> Keys. You will see
Now, below Scheme there is textbox, type project explorer. You will see
Select Show View from the grid. In Binding type the short key which ever you want. I typed Ctrl+Alt+Shift+Q. Then click on Apply and OK.
If you want to assign a short key and that short key exists then you will see in Conflicts: table.
Some useful shortcuts are
103 shortcuts
more shortcuts
By activate do you mean to open the project?
This shortcut is not set by default. Go to Preferences->keys and serach for open project and set shortcut of your choice.
But to apply this shortcut you will have to reach that project. So set a shortcut to reach Project explorer [same way as explained above] , use arrow keys to reach project and then use your open project shortcut. Easiest way use mouse :)
Customise the Show View dialog.
The Eclipse defaults don't include the Project Explorer view, so you must add that.
From eclipseonetips.com:
The Show View commands are activated by pressing Alt+Shift+Q, then the letter for the relevant view, eg. to navigate to the Package Explorer, press Alt+Shift+Q, P.
So pressing Alt+Shift+Q will cause the Show View dialog to pop up where you can select the view you want with the cursor arrows, the mouse or the P.
Follow the instructions given in Aniket Kulkami's answer and add Alt+Shift+Q,R to the Project Explorer Show View item. Then you will see the option appear in the Show View dialog along with the other views it's possible to navigate to, and R will select it.
It might also make sense for you to remove the P from the Package Explorer view so you can use it for the Project Explorer instead.
Press Ctrl+Shift+L to open the Key Assist. All key shortcuts are available in key assist, see what you need is available there or not

Categories