Home » Linux » Eclipse – changing font size in project/package explorer

Eclipse – changing font size in project/package explorer

Posted by: admin November 29, 2017 Leave a comment

Questions:

I’m using two environments, one with 24″ screen, second one with 15″. I need default font size of content of project/package explorer in the first one, but small font size for the other one.

Is there any way how to change it within eclipse? I mean not within operating system ? Because it always influences other font size on desktop. I’m reffering to this question.

If there is no way, please describe how would you do it in Linux – distribution independently.

Answers:

I have a 17 inch Mac Book Pro which is frequently hooked up to 27 inch high res display and the font size in the package explorer was way too small. Eclipse is supposed to respect the OS settings but it turns out on Mac OS X the default setting for eclipse is to use small Fonts rather than the standard os fonts.

on Mac OS X you can change edit the eclipse.ini file and remove -Dorg.eclipse.swt.internal.carbon.smallFonts restart eclipse and presto you will find that your package explorer looks brilliant with reasonable sized fonts.

You make have to use the Finder option “Show Contents” on the Eclipse.app to find the eclipse.ini file, and, the smallFonts line may occur more than once in the .ini file.

Questions:
Answers:

For Mac OS X, download TinkerTool from http://bresink.de/osx/TinkerTool.html and then change the font size for “Help tags”.

That changed the font size of package explorer for me. 🙂

Questions:
Answers:

I can say pretty confidently that you cannot change that font size from within eclipse, only choice is on the operating system. And on ubuntu you are able to change that font size.

Questions:
Answers:

For linux: Check out this link, it was very useful to me! I’m using the author’s favourite option and works seamlessly.

http://techtavern.wordpress.com/2008/09/24/smaller-font-sizes-for-eclipse-on-linux/

Questions:
Answers:

I work in Android development. I have ADT installed which comes which eclipse. The Windows about states that the eclipse installed has following components.

This product includes Eclipse Platform, JDT, CDT, EMF, GEF and WTP,

and Version : 4.2.1.v20130118-173121-9MF7GHYdG0B5kx4E_SkfZV-1mNjVATf67ZAb7
and BuildID : M20130204-1200

With the above version, I am able to change the font within eclipse. The process to change the font is very simple

1) Click on Window menu.
2) Click on Preferences sub menu.
3) Open General tab. (Left navigation)
4) Open Appearances sub tab. (Left navigation)
5) Click on Colors and Font option. (Left navigation)
6) Expand Basic option. (Right panel)
7) Click on Text Font (last option in Basic option)
8) Click on Edit Button.
9) Change the font which you want.

The screen shot of above option looks like…

enter image description here