I've been in this business for a few years now and I've been programming (in some form or other) since around 1986 (hello, BASIC!). Whereas in the past (see: University) I've been able to sit in front of a screen for 18 hours a day with only my contact lenses as protection, I've recently run into some issues that have made me re-examine how I treat my globes. Specifically: during successive business trips to a client site in Chicago, I came down with very unpleasant cases of conjunctivitis (also, see this write-up on HealthyOntario).
For starters, I've decided to look at how I've set up my development tools. I need to find the best, clearest, most ocularly soothing font for editing code in Flex Builder and elsewhere.
Eyeballing the best possible font
I've come across this fine site by Trevor Lowing which provides a collection (with clever examples) of different code-friendly "mono-spaced" fonts. It puts forward the following "good programming font criteria":
Setting text editor fonts in FlexBuilder/Eclipse
If you're a Flex Builder/Eclipse user, here is how you change the font used for editing files:
Go to Window > Preferences
From there, go to General > Appearance > Colors and Fonts
Select Basic and double-click on "Text Font". The font settings dialog will pop up.

Make sure to have an editor open, so that when you click on "Ok" and then "Apply", you will see the font changing in the background. This will allow you to try a number of fonts until you get the settings just right.
Your take?
I plan on trying out new fonts in the coming weeks so I'd be interested in finding out what font you use for coding/scripting. What font size? What display configuration (size, single or dual display) and screen resolution?
Thanks for reading!
Taylor
For starters, I've decided to look at how I've set up my development tools. I need to find the best, clearest, most ocularly soothing font for editing code in Flex Builder and elsewhere.
Eyeballing the best possible font
I've come across this fine site by Trevor Lowing which provides a collection (with clever examples) of different code-friendly "mono-spaced" fonts. It puts forward the following "good programming font criteria":
The list seems pretty complete to me, though I might add "thick enough for viewing on LCD screen", since some fonts seems downright Olsenish for my tastes...
- Crisp, clear characters
- Extended character set
- Good use of white space
- 'l', '1' and 'i' are easily distinguished
- '0', 'o' and 'O' are easily distinguished
- Forward quotes are easily distinguished from back quotes (ideally with a "mirrored" appearance)
- Clear punctuation characters, especially braces, parentheses and brackets
Setting text editor fonts in FlexBuilder/Eclipse
If you're a Flex Builder/Eclipse user, here is how you change the font used for editing files:
Go to Window > Preferences
From there, go to General > Appearance > Colors and Fonts
Select Basic and double-click on "Text Font". The font settings dialog will pop up.

Make sure to have an editor open, so that when you click on "Ok" and then "Apply", you will see the font changing in the background. This will allow you to try a number of fonts until you get the settings just right.
Your take?
I plan on trying out new fonts in the coming weeks so I'd be interested in finding out what font you use for coding/scripting. What font size? What display configuration (size, single or dual display) and screen resolution?
Thanks for reading!
Taylor

My favorite coding font is Consolas.Before that I was using Andale Mono.
Consolas is a little thicker has some subtle details to make it more legible, but both of them are very very good.
My favorite is "Inconsolata". You can find more infos and download it here(http://www.levien.com/type/myfonts/inconsolata.html)
My own is CodingFontTobi:
http://www.proggyfonts.com/index.php?menu=download
Andale Mono at 8pt provides great code density while still being readable (at least by my eyes). Unfortunately in Flex Builder 8pt is displayed as large as 9pt :( I hope they fix that soon - it's probably the main reason I still do most of my coding in Flash Authoring.
Consolas is my font of choice.
You may also want to check out
this neat little AIR application that reminds you to look away
from your screen every so often ..
http://www.relaxmyeyes.com/
Thank you very much. I m new user for Eclipse. So this document was very useful for me
My pleasure, Nalaka. Please come back anytime!