I love the Moonrise UI theme for Eclipse. However I have grown less fond of Eclipse and am trying to switch to IDEA. One of the things I miss most though with the Moonrise theme is how nicely it highlights compile errors and warnings. It highlights the text background red and yellow respectively.
Errors and warnings in IDEA's Darcula theme, however, are not so obvious.
How do I modify the Editor pane colors in IDEA to format errors/warnings exactly like Eclipse Moonrise and highlight the background red/yellow?
Go to Settings/Editor/Colors and Fonts. If you haven't modified the theme before, save it first using Save As... button, because you can't modify the default one.
Then go to General and find Error and Warning items in the list. Uncheck the Error Stripe Mark and Effects checkboxes and check the Background checkbox. You can then select the color by clicking on the color selector next to the checkbox.
Screenshot:
Related
I'm new to using Eclipse and programming softwares in general, so more thorough explanations would be appreciated!
How do I change the text back to a dark color to read it, and is it possible to make the background grey and keep the text white?
Depending on the Eclipse version you are using, Dark theme may differ:
Under Eclipse Bar Menu Window, select Preferences
From the Preferences Window, Select General -> Appearance
From the drop down Theme, select one of the available "Dark" themes
You could also click here on the Restore Default button to revert all changes you have tried then Click on Apply button
Must restart Eclipse to be effective.
Following is the Default Dark Theme when using Old Eclipse 2019-09
Following is the Default Dark Theme when using New Eclipse 2020-12
I had the same issue of having light background and light text in the menu dropdowns.
Fixed by cycling the Windows theme from custom to "Windows" then back to a dark these. This was done in Personalization -> Themes in Windows 10. Now, the dropdowns are dark with legible text.
Is it possible to turn off all code analyzer warnings highlighting in the Matlab IDE, while keeping the code analyzer errors highlighting?
Looked around in preferences but didn't find any options except removing the underlining of warnings.
(They are still highlighted in code and visible at the right edge of the editor).
Workarounds I've found:
Disable all the warnings one by one, which is ridiculous because there is a list with hundreds of check boxes and no "un-check all".
Set the color of the warning highlighting to the background color of the editor.
You can use the search bar in the Code Analyzer tab in the Preference menu to filter only warnings. Then you can select them all with ctrl+A and right click and select 'Disable'.
Then you can save your new settings as a new mlint config file.
I've been trying to change the background color for the 'quick-fixes' pop-up (the pop up that lists ways to fix an error) in eclipse juno. Currently the color is black and the text is blue which makes it very hard to read.
I cant find the correct way to change the color. Please help. Its really annoying to squint and have to read blue text on a black background.
This was driving me nuts as well, here is the fix.
Go to preferences.
Search for "Annotations"
for each Annotation Type:
if "Text as" == "Highlighted" and Color == black:
Set the color to light or uncheck "Text As"
In this screen shot, I am fixing Occurrences.
The problem I show to the left is the "Matching Tags" annotation which had the same problem.
You can change the color of the text in the pop-up.
In windows you can go Control Panel, search for colors and metrics and then select Change window colors and metrics. In the item menu select Hyperlinks and change the Color.
EDIT: This fix is valid for Windows 7. Windows 10 does not have the option to change Hyperlinks color.
Right Click anywhere in the Editor Window, and at the bottom of the context menu select Preferences. This will bring you into Java -> Editor. At the bottom ofthat window select the element colors you wish to change, in your case Parameter hints background and Parameter hints background or Completion overview background and Completion overview foreground, depending on which one it is you are having a problem with.
From what I found, I do not think you can change the color. I am not willing to go to Eclipse source code and find it but here's what fixed it for me. Not perfectly but to a level I can use the quick fix. In my case, the background and foreground was same. (Luna, Dark Theme, Using Solarized Editor Theme).
Go into the Preferences (Window -> Preferences)
Choose General -> Appearance from the left menu
Uncheck the checkbox Use mixed fonts and colours for labels
The detail is in this post. How to change the highlight color in autocomplete box in Eclipse
I've been searching for about 40 minutes now and this is just so frustrating...
The standard search result background color in eclipse is freaking white and black. Everytime I search something I have to scan the screen for like 50 seconds before I find the spot where Eclipse has found something. I don't know which goon set it this way but he must be working with the goon who programmed the interface for configuring the colors... I can't find it.
Where do I change the background color of search results?
I feel ashamed to have to ask this here... but the things I've tried, like setting it in general>editors>text-editors>annotations didn't work.
In the Eclipse menu bar:
Windows->Preferences->General->Editors->Text Editors->Annotations
Then scroll down to "Search Results" and set the highlighted text color.
This works for Eclipse Helios and Eclipse Juno. I haven't tested other versions.
I am not sure I understand what you mean, but this might help, go to:
Eclipse -> Preferences -> General -> Search there is a line in the right that reads:
"Foreground color for potential matches" and it has a box right next to it where you can change the colors.
You can change the color of the search.
Otherwise, you can also change the colors of what Eclipse highlights by going to:
Eclipse -> Preferences -> General -> Appearance -> Colors and Fonts -> Match Highlight background color
and change the color there.
Hope this helps!
You can also look at this webpage:
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Faccessibility%2Ffontsandcolors.htm
This may not be true for all modes, but I'm using Eclipse with Flash Builder plugin on Mac, and it turned out I had to modify the current selection highlight:
General -> Editors -> Text Editors -> Selection Background Color
Also in the search results window (that lists all the findings in a tree), the background color is under a different setting: Windows->Preferences->General->Appearance->Colors and Fonts->Match highlighting background color.
You can change search background color like this: (works for Luna and previous versions)
In the Eclipse menu bar: Windows->Preferences->General->Editors->Text Editors->Annotations
Then scroll down to "Search Results" and set the highlighted text color.
Old question but I will add my findings. I'm using a MacBook Pro
Using Eclipse Mars.1, while I do a 'text' search (using Emacs). To set the search highlight (or background) color I do the following:
Preferences->General->Editors->Text Editors see the Appearance color options section. Highlight the Selection background color and use the color palette to set your desired color.
It is somewhat frustrating as the only way I could get this to work is to restart Eclipse. After the restart I am happy.
Same as #bityz's answer, except for me the annotation which mattered was "Occurrences". I tried this on Eclipse 4.3 Kepler.
To highlight the matching keywords in Juno
Windows->Preferences->General->Text Editor-.Annotations-> in Annotation Types box, look for Write Occurrences. Change the color there.
If you mean (as I think you do) how do you change the highlight colour of strings that match what you select in an editor (e.g. you double-click on 'filename' and Eclipse highlights other references to 'filename' in a dull grey background), then the following post answers this:
Eclipse: How do you change the highlight color of the currently selected method/expression?
In a nutshell, you want:
* General -> Editors -> Text Editors -> Annotations
* Look for "Occurrences" in the Annotation types list and change it from grey to your favourite colour!
I have also found, if you are looking at C++ code (at least in Eclipse Mars 2), changing the following option will set the highlight color of all occurrences of your current (or most recent) search, in case this is what you are looking for:
General->Editors->Text Editors->Annotations->C/C++ Occurrences
Why oh why this is not in the C++ preferences pane I will never know.
Eclipse is a default, and a background color is white,
but many developers uses the dark color (black) and thinks whether it is used the letter color with white or green.
I can't find tools which the color template can change an editor color of Eclipse by a blow very much.
Do you know featured WEB sites.?
If get possible to choose dark color among a beginning like MIFES, makes me Happy
I don't fully understand your question but for changing Eclipse's editor background color just go to menu: Window > Preferences, and in the dialog go to General > Text Editors. In that form just select Background color from the list Appearance color options and use the color picker in the right to change it. For other formatting options go to General > Colors and Fonts in the same dialog.
NOTE: All these formatting changes are saved in your workspace if you create a new one it'll start with the default settings
As a very late follow-up (just found this via search), there is now Eclipse Color Theme, a plugin you can grab from the marketplace. It enables you to use color themes from various sites and load them directly.
They even got a few relatively close Netbeans-lookalikes (that's why I was looking for one).
If you mean "themes" as Netbeans has "Dark pastels" theme - then Eclipse currently doesn't have this feature.
In the newer version of eclipse, we have an option Switch to Theme...
This should resolve the issue.