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)
Related
I am using Eclipse with the GWT Eclipse Plugin. I want to use a different font than the default (in this case, Fira Code). In my preferences, in Colors and Fonts, I set the setting "Text Font" to use Fira Code and it works perfectly fine in normal Java text editors. However, if I open a source file that is in a GWT project, the GWT Eclipse Plugin uses its own text editor that ignores the custom font and uses Eclipse's default instead.
Is there a way to force the GWT text editor to use that setting too?
While there is no official fix yet, GitHub user voytechs provides a work-around here:
Unless you absolutely need to use the GWT Java Editor for every single .java file type because it has syntax support for JNSI code, you can change the order in which the text editors are chosen for the .java file type.
Preferences > General > Editors > File Associations > File Types > *.java > Associated editors:
Select "Java Editor"
Click "Default" button to make that the default editor
You can still edit java files with JNSI comment code in it with the GWT Java Editor:
Project Explorer > Right Click your .java" file > Open With > GWT Java Editor
The regular java editor can easily change the default font size or resize the font size on the fly. I adjust the font size using the ctrl+ and ctrl- key press inside the Java editor.
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.
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 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.
I am working with Twist as part of developing automatic tests, and I would want to change (decrease size) of the font in the twist scenario editor. I could not find any option in the "Twist" section in the Preferences menu, and the other settings are related to the eclipse editor (e.g. for .java files)
Regards,
Vlad
Vlad,
Go to Window > Preferences > filter using "font" > click on Colors and Fonts > Look in the basic folder for Text Font > edit
See screencast for demo
http://screencast.com/t/ltf7OZFsZ
-Lars