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
Related
I just migrated from Eclipse 2019-06 to Eclipse 2021-03, and there's a difference that's driving me crazy, and I don't know how to have the same behavior as before.
When I lose focus in the Project Explorer view, I'm unable to view the highlighted file as before.
NOTE: What I'm looking for is not the way to show the current file (present in the editor) linked against the Project Explorer. It's just the way to keep the file that I selected in Project Explorer highlighted when it looses focus.
The theme you are using is responsible for this behavior:
In the Light theme + Default color scheme, when the focus in on the Package Explorer:
When it is on the editor:
As setting the theme to Dark litterally froze my Eclipse, I can only give you those insight on what to do:
Check in the General > Color. You could for example change the background color to some visible one (yellow, green, ...) until you see a change in the unfocused Package Explorer. Once done, you can restore default colors and only set it on the part that needs change.
If you use some plugin that provide more themes, check with those themes.
Use Light theme !
Im having a problem with Eclipse. When error in code, I can't see suggestions in how to fix the error. The box that has this information is visible, not the text it self.
How can i fix this?
In Eclipse on the menubar go to:
Window > Preferences > General > Appearance > Colors and Fonts
Now select Content Assist foreground color in the list and click edit.
Select the color you want and that should fix your problem.
In the Appearance menu you can also reset your entire theme to fix any other issues with the button Restore Defaults.
My default workspace on Eclipse set the Javadoc Background color to black and it is impossible to read the text:
Javadoc black background
I have already tried to "restore defaults" at Window -> Preferences -> General -> Appearance -> Colors and Fonts, but it works until I close the workspace. Next time I open it again, the problem returns:
Preferences Javadoc Background overrides default
I have tried to find the file inside workspace\.metadata\.plugins folder that set this configuration, but I didn't find. I also tried to find other solutions, but I only found solutions for Ubuntu OS, and I am on Windows 7 with an Oxygen.3A Eclipse.
Has anyone faced this problem?
Thanks in advance.
PS1.: New workspaces comes without the error.
PS2.: I work with lots of workspaces at work, so creating new ones is not an option, because it will take hours to reorganize them.
I solved this problem on Eclipse 2018-12 by changing to a theme other than "Classic." Once I did that and restarted Eclipse, it looked like it should.
Preferences->General->Appearance.
Make sure Enable theming is checked.
Select a different theme from Classic and restart Eclipse.
Since you lose your current workspace setting for background color whenever you reopen the workspace perhaps Oomph has stored a configuration setting for background color for that workspace (black in your case), and that is being used on startup to override your most recent setting.
To resolve:
Select Window > Preferences > Oomph > Setup Tasks > Preference Recorder
Check Record into and select Workspace from the droplist.
Enter Javadoc.backgroundColor in the search field and then check the entry that is listed, so that your screen looks like this:
Click Apply and Close.
Select Window > Preferences > General > Appearance > Color and Fonts, select Java > Javadoc background and then click Edit... to choose the background color you want.
Click Apply and Close then restart Eclipse. After restarting you should see that your most recent color change is still being used.
Optionally, uncheck Record into so that Oomph doesn't record further configuration changes.
(I am not confident that this is necessarily the solution because it implies that someone had previously set the Javadoc background color to black as part of the Oomph configuration for the workspace, and that is not easy to do unintentionally.)
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.
I applied a theme for eclipse, where the Console's background color is to dark.
If I want to change it by right clicking on the Console -> preferences -> background color the new Color doesnt get applied. Is there a way to apply a new BG Color even when using a theme?
Thanks!
I had a similar problem with luna. Didn't work with the dark 'theme' and similar dark 'color and font theme' - had to reset to classic under main preferences. Then right clicking from within the console does change to the selected colour.
Maybe related to this recurring bug in eclipse.
I got the mentioned bug too but after right clicking it was too dark for me since the text colour is black.
The settings for the console background colour are located here:
Eclipse:
Window -> Preferences
Preferences:
-> C/C++ -> Build -> Console
(probably a similar path applies to Java too)
Console:
-> Background color
There are also two other console background settings in: Preferences: -> C/C++ -> Debug -> GDB -> Console and in Run/Debug -> Console.
Have you made sure that you clicked the actual 'Apply' button?
If so, try if you can change it from the the tab window and then pick Prefrences.
Window -->Preferences
Hopefully this helps you.
go to ->preferences->type:console-> click on "console" ->click on "Background color"