How to stop Eclipse from "italizing" text in the text editor? - eclipse

Hi all I was wondering if it is possible for eclipse to stop "italizing" the words in the editor?
These are my settings for General >> Appearance >> Colors and Fonts:
I've selected "Regular" style, however in eclipse it shows as this:
as can be seen, the BEST_DISPLAY_MODES and getBestDisplayMode are italized. Is there anyway to change that font to "regular" font?

To change the settings for Java syntax highlighting (and similarly for other languages) got to Window->Preferences. From there expand Java->Editor->Syntax Coloring. There you will see options for colors and styles for each type of token that is colorized/styled. You should be able to fix it there.

Related

Change highlighting color of auto-highlighted variable names in netbeans?

When I move over a class name all the other places that that class name shows up are highlighted. When I hover over a variable it does the same thing with different places that I have used that variable. I cannot find where to change that setting in Netbeans.
I changed everything else, but even when I looked under every option in the highlighting section there were none with the same shade of yellow that is seen here:
There was also nothing in the Syntax or Annotations section that had that shade of yellow. Is this even a setting that I have control of?
I have Netbeans 7.2.1 if anyone needs to know.
It is Language-specific.
You have to go to Syntax > Change a Language and modify the "Mark Ocurrency" color.
Know more:
How to change the highlight variable color in NetBeans IDE ?
I found this theme generator - helped me with my own color theme.
Below link to the online netbeans color theme generator
Net Beans theme builder
allow to point - click select code type and assign new colors
allow to export colors for netbeans (as .zip) aslo for eclipse color theme (.xml)
Tested on NetBeans 7.4
My answer is too late but it might be useful for someone else ,,
In Neatbeans Tools >> Options >> Fonts & Colors >> Language (Java) >> Mark occurrences .

Change Eclipse window color

I've been using Eclipse for a while now, as we need it in class to work with xml files.
I'm rather a fan of using dark backgrounds, as I find it easyer for the eyes.
I've found this topic on how to change the theme in Eclipse, but this only changes the color scheme in the coding window.
Is there a way to change the entire color scheme for the whole program (sidebars, background color, foreground color, ...) in Eclipse like you have in Visual Studio?
offtopic: I want to do the same in NetBeans
EDIT: finally got it to work, but my color scheme s*cks.
Does anyone have a good scheme I can use or some CSS file I may import?
It would be perfect if it fits with any dark Color Theme (Monokai, NightLion Aptana Theme, Oblivion, Obsidian, Pastel, RecognEyes, Sublime Text 2, Sunburst, Wombat or zenburn). Looking at this list, I notice a lot of themes are dark. Too bad the program itself hasn't got themes (unless the Chrome Theme to change everything ourselves)
If you are using Eclipse 4, you can use the Eclipse 4 Chrome Theme to style everything in the program using CSS (or properties for the most used UI elements).
Many of the colors can be adjusted via Preferences > General > Appearance > Colors and Fonts. For things that are not configurable there, they're controlled by tour operating system color settings.

Is there a way to prevent the semi-bolding of Java keywords in Eclipse? (example pics inside)

I'm trying to switch to a "proper" IDE, but I just can't get past the terrible way it displays the font.
I'm using the Monaco Font in both sublimeText and Eclipse, both with a size of 9, regular.
Sublime looks like this:
Whereas Eclipse's rendering of the same font looks like this:
It's all semi-bold and smudgy looking! I notice that most of this is only for java keywords like, "public," "class," etc.. non keywords look fine. So, I'm guessing this is editable somewhere in Eclipse's many, many menus.
Does anyone know how to turn off the semi-bolding of keywords?
From the Window menu, choose Preferences. Then type "font" in the search field. You'll see the colors and fonts option that lets you adjust the appearance of several different languages, including Java. I assume you can remove the bold, although I didn't check the details.
The options described on this question may also be relevant.

Change default font in netbeans?

Is it possible to change the default font in netbeans? The documentation says:
The font Monospaced is maped to different fonts on different systems.
On Windows it is mapped to "Courier ", on Linux it is mapped to
"Lucida Typewriter".
http://ui.netbeans.org/docs/ui/editor_fonts_colors/Editor_fonts_and_colors.htm
I'm on windows and want to map Monospaced font to 'Consolas' instead of 'Courier'.
P.S. I know that fonts can easily be changed from options, but when I change it in this way, I can no longer use unicode characters. Guess I need to do what they call 'mapping' the monospaced font to other font.
Tools > Options > Fonts and Colors
Set the category "Default", and to the right of that, the font you want to use.
If this does not fix it, try adding:
--laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd
or
-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd --laf Metal
to the file : netbeans.conf. You can find it in $NETBEANS_HOME/etc/ folder. Make your application font smaller from system preferences.
To change the font size outside of the editor you can configure by editing the Net Beans conf file, you can find it here:
C:\Program Files\NetBeans 8.0.2\etc\netbeans.conf
Then edit this line:
netbeans_default_options="..."
by adding this at the end:
--fontsize 18
I hope it helps :-)
Life becomes more easier now. Just from Tools menu choose Options and then follow steps on the following screen shot and take care with step 3 and 4 which they are making the default font for all languages:
I have a NetBeans plugin called 'UI-Editor' which allows you to customize virtually any Swing property, including font sizes, colors, and types. Go to Tools->Plugins and search for 'UI-Editor' or go here: http://plugins.netbeans.org/plugin/55618/?show=true
also don't not forget to change the font to the one that support Arabic like Arial for example i am not sure of some one mention that i just tried it
As far as I can tell there's no way to do this. jEdit (http://jedit.org) also uses Swing and DOES do font substitution for all fonts - there's a "automatic font substitution" checkbox in Global Options > Text Area, along with a list of preferred fonts. But jEdit is otherwise not as capable as Netbeans.

Syntax-dependent fonts in Eclipse?

Notepad++ has the ability to show some types of syntax (e.g. strings) in a different font from others.
Can Eclipse do something like this?
I need this ability because the strings have Unicode characters in them, but all the fonts that I have that support Unicode look crap in the rest of the code.
EDIT: I am looking for this feature for Java code.
Not currently possible, you can only change the font family for the entire Java editor.
it depends on which perspective .. I am using PyDev .. go to window-->preferences then select PyDev tab then select Editor ..you will find a panel titled with "Appearance color options" .. you can customize the color of each part of your codes