How to change font (family) of comments in Eclipse? - eclipse

How to change font (font family/name) of comments in Eclipse? I can do it in NetBeans, but is it even possible in Eclipse? In Window -> Preferences -> C/C++ -> Editor -> Syntax Coloring I can change only the colour of the fonts, but I would like to change also the font itself.
(I'm using Eclipse Juno.)

Try Window->Preferences->General->Appearance->Colors and Fonts. I'm using Eclipse Kepler, so I'm not sure this is available in Juno.

Related

How to change Text Editor font colour in Eclipse Neon

In previous versions of Eclipse it was possible to change the font colour of the general Text Editor in the dialogue General > Editors > Text Editors. In Eclipse Neon this has no effect:
How can this be made with this latest version?

Aptana Studio Eclipse IDE messes up color theme

Before I installed the Aptana Studio IDE for Eclipse my theme was set to "Dark" and the editors to "Sublime".
After I installed Aptana all editors appeared in a white background color.
I know that Aptana has it's on settings for that but I want to separate the settings of Aptana and Eclipse. So Eclipse's settings should apply to all "normal" editors and the Aptana settings should only apply to its on editors.
So right now, everything is white. And it only changes in black when I click "Apply to all (non-studio) editors" (In the Aptana settings).
But I don't want that!
I want to have my "normal" java editors like before and the Aptana editors should look different. But nothing will change if I set the settings in "preferences -> appearence -> color theme". Can anyone help me?

Eclipse Luna scroll cant be dark

I'm trying to make my eclipse full dark on windows OS. This is what happened:
The scroll is still white (on the right), both in "Dark" and "Moonrise" theme. I googled a lot and found out that i must update my eclipse to 4.4.1. I updated my eclipse, but the problem persists.
Please help me. Thanks for your time.
It's because scrollbars color is set in your desktop environment settings. E.g. windows, or gnome.
To make eclipse using dark scheme you need few steps:
Install/configure any dark theme for your desktop environment. For linux / Gnome 3 Flashback I suggest using GnomishDark.
Install "Eclipse Color Themes" plugin to Eclipse from Marketplace.
Choose theme you like in Eclipse (General -> Appearance -> Color Theme). E.g. I used Wombat.
If you want change some other colors, look here:
General -> Appearance -> Colors and Fonts
General -> Editors ->Text Editors -> Annotations
General -> Editors ->Text Editors -> Quick Diff
General -> Editors ->Structured Text Editors
You can see my eclipse with GnomishDark theme here.

How can I change the Eclipse GUI font?

How can I change the Eclipse GUI font size?
For instance, I would like to make the font for "Project Explorer" or "Members" smaller.
Reiterating #Vitor De Mario answer with few more screenshots.
I use Eclipse IDE for Enterprise Java Developers Version: 2020-09 (4.17.0) on MacOS Catalina. The font size of Eclipse package explorer was very small and hard to read.
You can change it through eclipse preferences (shortcut: Command key + ,)
It looks a lot better now.
I don't know if you can change the font for one specific section. However, you can do it for Eclipse as a whole, in Preferences → General → Appearance → Colors and Fonts → View and Editor Folders, on Part title font and View message font.
Eclipse Project/Package explorer, Outline window are using OS default font for labels.
For Win 7+ go to Control Panel\Appearance and Personalization\Personalization click 'Window Color' to start 'Window Color and Appearance' dialog.
Decrease 'Message Box' font.
Eclipse restart required
In newer versions of Eclipse this becomes configurable (Tree and Table font for views)
Most of the controls in Eclipse (such as tree views) use native OS widgets. For these, the font face or size cannot be adjusted in Eclipse. You have to adjust it at OS level.

HP Fortify UI customization

It's possible to modify Fortify Eclipse color schema?
I have found some files at this path
C:\Users\<user>\AppData\Local\Fortify\workspace\
that looks like the one used by Eclipse to define the color of the code but can't come with a way to successful modify them.
UPDATE: Fortify version is "Audit Workbench 3.50". It uses Eclipse code editor to display code but it isn't a Eclipse plug-in. I have discovered that they use the same files Eclipse does to customize look and feel but didn't manage to modify them successfully.
If you press Ctrl+Shift+L twice (where Ctrl=Cmd for Mac), a preferences dialog appears that allows some changes to the Eclipse UI properties in the Audit Workbench perspective.
For Java projects, go to Java -> Editor -> Syntax Coloring on
the left and select how java keywords are highlighted selecting
Element: Java -> Keywords excluding 'return'
There's similar preference for C++ projects under C/C++ ->
Editor -> Syntax Coloring.
Some colors can be set on Java (or C/C++) -> Editor page itself (like
matching brackets highlight color). Note, it uses the simplified
java editor, so complicated things like static fields and some others
will not work.
To set current line highlight color, go to General ->
Editors -> Text Editors and select 'Current line highlight' color.
Go to General -> Appearance -> Colors and Fonts, to play with other
elements' look and feel.
Not all of the color preferences in that dialog will work because there are some hard-coded backgrounds in some of the widgets.
As always, Your Mileage May Vary!
What version of Eclipse is it? Is the Fortify software a plugin of some type in Eclipse?
I've never used the HP Fortify software before, but I'll start with the obvious to change text appearance in eclipse: Preferences -> General -> Editors -> Text Editors -> Wiki Text -> Appearance.
I'm taking a guess that there may be some similar options under a plugin if it got added to Eclipse.