score:114
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!
score:1
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.
score:1
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.
score:1
- 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"
score:2
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).
score:5
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 + "-"
score:5
go to preferences → general → appearance → colors and fonts, expand the "basic" folder and select "text font" and change that to whatever size you like.
score:17
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
Source: stackoverflow.com
Related Query
- How can I change font size in Eclipse for ALL text editors?
- How to change font size in Eclipse for Java text editors?
- how can i change the font size of a text file in Eclipse
- Change Text Font In Eclipse For GWT Text Editors
- How to change font size for GTK menus, autocomplete, properties view and pop-up hints in Eclipse Neon?
- How to add text hovers for generic eclipse editor- generic text hover for all text editors
- When I change the text for the button in SWT, the whole button size changes. How can I disable this?
- How can I configure the font size for the tree item in the package explorer in Eclipse?
- How to change default JRE for all Eclipse workspaces?
- How to change the font size of the Eclipse editor tab's title
- How (if possible) can I change the color option for the highlighted search results in eclipse (Moonrise theme)?
- How can I change Eclipse color scheme for a specific file extension?
- How do you add a PHP framework to code completion/assist in Eclipse PDT and can the framework be added as default for all projects?
- How to change the font for the Eclipse Content Assist (Template Proposals) window
- How can I change the view / editor for a file in Eclipse using the keyboard?
- How to change font size in message box in eclipse RCP?
- How to change font color in eclipse for debug popup?
- Change Font Size for Auto-Complete Suggestions Java Eclipse
- How to change the font for Eclipse Twist scenario editor (Eclipse Plugin - ThoughtWorks Studios)
- How can I change the background color for the the Eclipse 3.5 editor?
- eclipse - how to enable "mark occurrences" for any text and in all files
- How do I change the font size of the Eclipse editor tab's title (in Eclipse v4.4 (Luna))?
- How to change font (size) for an Eclipse editor programmatically?
- Any way to use decimal font size in Eclipse for Java text editors?
- How can I get syntax highlighting for my format in an Eclipse text editor?
- How to change terminal font color in Spring Tools 4 for Eclipse
- How can I know exact font colors for Default/Classic Theme in Eclipse
- How do I increase font size Auto Suggestions and for the log message in Eclipse (Mac OS)?
- How do I change the font colour on a ListView in Eclipse for Android?
- How to change font size of eclipse XML context-sensitive-doc
More Query from same tag
- How to make eclipse output to console window AND a file?
- jdeveloper - Package does not exist while compiling on Maven and Eclipse
- Problems occurred when invoking code from plug-in: "org.eclipse.core.resources"
- How to store global parameter in IBM Community Server
- Where does eclipse publish(disk location) the web project?
- Android Studio - how to use libraries (from eclipse projects)
- Saros login : 'SASL authentication DIGEST-MD5 failed'
- How can we make this maven POM.xml more professional?
- How to make a shape dragable and re-sizable in android dynamically
- My eclipse plugin is showing on eclipse marketplace web site, but not in eclipse marketplace client
- cannot find lib processing
- Android Emulator Freezing on Load Screen
- How to change the font for Eclipse Twist scenario editor (Eclipse Plugin - ThoughtWorks Studios)
- Performance Management Tool for 2 or more applications
- Eclipse with EGit, git-blame info is hard to see
- LuaSocket in Windows - How to install and use it in an Eclipse Project
- Is it possible to extract a method to a base class in eclipse?
- Error with self-bootstrapping Ant build
- deploying and testing rest-webservice with eclipse
- Default configuration for Eclipse plugin test
- Eclipse: Creating a search box with the attributes Enter city, zipcode
- Cannot run project - the selection cannot be launched and there are no recent lanuches
- Can I use Java annotations to define compile time checks?
- Where can I get a plug-in for the PHP syntax tooltip help for Eclipse Indigo?
- Android Virtual Device (AVD) for Google+ development on Eclipse
- Eclipse IDE different languages configuration
- Create and Android project in Eclipse and duplicate it easily
- How to get Android Device Density Unit
- Android + OpenCL with Eclipse
- Why the output from javascript just shown for a short period of time?