How to change font size for GTK menus, autocomplete, properties view and pop-up hints in Eclipse Neon? - eclipse

I need to change eclipse menu size.
also in properties view.
high resolution makes the font so tiny.
I found a way to change package explorer view font size by modifying an eclipse related file in css folder.
eclipse\plugins\org.eclipse.ui.themes_1.1.1.v20151026-1355\css
but how to change "IDE menu" font size in eclipse?
also how to change "Properties view" or auto complete (control+space menu) font size in eclipse?
I searched every where for an answer for this question.

I had the same question, my Eclipse uses GTK so I tried to change the font size via the Kubuntu system settings and it worked. It applies also to pop-up hints in Eclipse.

Related

how to change DVT eclipse menu font-size

I need to change DVT eclipse menu size. also in properties view and Project Explorer.
High DPI make them larger than the code font size.
Although this soultion did work it was complicated and change only the Project Explorer (without Menu and Project)
DVT Version - dvt_eclipse_20.1.37-e46
As mentioned in DVT "Themes" documentation page.
To change the fonts, please go to Window > Preferences > DVT > Themes.
You will find there the option to change both the Editor Font and the UI Font (the second one is what you are looking for)

How to change font size in eclipse H_e_l_p browser on Linux

I'm trying to change the font size on the eclipse (Mars CDT) help browser (not workspace). The intro page has font size buttons, but they only apply to the opening page, not to the help browser.

How can I change font size in Eclipse for ALL text editors?

I had to do a presentation yesterday, and as part of the presentation, I used Eclipse to show some code. Many of my coworkers in the room could not read the text and asked me to increase the size of the text for ALL files, not just Java files or XML files.
But it wasn't immediately obvious from the available options how to do this. I went to menu Window → Preferences and typed font in the search input. This filtered the options to General → Appearance → Colors and Fonts. From here, I could see an option to change the font in Java files, but I didn't know how to change the font globally.
I'm using Eclipse v4.3 Service Release 1 (Kepler) on Windows.
This is similar to Stack Overflow question How can I change font size in Eclipse for Java text editors?.
This is what we figured out, and this is also found in this answer and also this answer (I'll quote):
Go to Preferences → General → Appearance → Colors and Fonts, expand the "Basic" folder and select "Text Font" and change that to whatever size you like.
Pretty simple!
The answer by #Jake works fine on the editor. To also change the font size of the global Eclipse GUI, I have added the follows:
*{font-size:8;}
in the file:
ECLIPSE_HOME/plugins/org.eclipse.ui.themes_*/css/e4_default_gtk.css
worked for me. This is explained here: How to change eclipse font sizes
Go to Preferences → General → Appearance → Colors and Fonts, expand the "Basic" folder and select "Text Font" and change that to whatever size you like.
this video help you
Eclipse provides a handy shortcut to shortcut for what is well explained in Jake Toronto answer (only by 2 points increments/decrements though).
On MacOS:
Increase by 2 points: command + "+"
Decrease by 2 points: command + "-"
On Windows/Fedora:
Increase by 2 points: CTRL + "+"
Decrease by 2 points: CTRL + "-"
The answer by #George worked fine, but if it doesn't work on the file he referred to, then you might try applying the same modification on another file from the same folder: e4_basestyle.css.
For me it worked this way (my version of the Eclipse SDK is 4.2.2).
For XML or HTML Files, you can select the "Structured Text Editors" option instead of "Basic" in the path given by Jake Toronto's answer.
Just for reference, if anyone change font settings from Preferences → General → Appearance → *Colors and Fonts**, but it wouldn't work...
In my case, it caused by the Eclipse color theme. Just uninstall it.
Open Eclipse Preferences
In left menu select "General>Appearance>Colors and Fonts"
In the resulting window under the Java node select "Java Editor Text Font"
Notice button "Edit Defalt..." is now enabled, click it
Choose your preferred font settings and click OK
Now you will notice that all editor fonts have changed to your selected default (if they were set to the default to begin with). Also you can now change any editor back to this setting by selecting the editor font setting and clicking "Go to Default"

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.

How to change the Eclipse Debug view font?

What font preferenc drives the Eclipse Debug view font? I feel I have tried all the ones that make sense (including the ones under Debug) and none seem to change it.
I'm on Eclipse 4.2.1 on OSX 10.8.2 if it matters.
There is no way in Eclipse to change the font used for Package Explorer, Debug View and other such views. You can only change the font for editor views. This is a policy decision on the part of the Eclipse developers. The font used is the one set by the general look-and-feel for whatever desktop you are using.
On Windows 7, you can affect many of the eclipse GUI fonts, including the Debug View and the Project Explorer by going to:
Control Panel -> Personalization -> Window Color and Appearance -> Advanced Appearance Settings
Change the font size for "Message Box".
Of course this messes with the appearance of other stuff in your OS, but I've found that tolerable compared to squinting at the debug view...
In eclipse for Mac m1: go to preferences ->general->appreances -> colors and fonts ->select any option under Debug and click edit.