Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse - changing font size in project/package explorer

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.

like image 906
lisak Avatar asked Dec 16 '10 23:12

lisak


People also ask

How do I change the font size in Project Explorer in Eclipse?

Go to Preferences > General > Appearance > Colors and Fonts, expand the "Basic" folder and select "Text Font" and change that to whatever size you like.

How do I resize text in Eclipse?

Preferences, General, Appearance, Colors and Fonts, Basic, Text Font. Click "Edit..." button. Change Size to 16. Click "OK" button.

What is the shortcut key to increase font size in Eclipse?

Shortcuts: Ctrl = increase font size. Ctrl - decrease font size. Ctrl 0 reset font size to default value.


2 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.

like image 147
ams Avatar answered Oct 04 '22 18:10

ams


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. :)

like image 23
Danny Sinang Avatar answered Oct 04 '22 19:10

Danny Sinang