Coding Ergonomics
#1
Posted 05 October 2012 - 06:20 AM
As a starter: I'm using the Solarized Dark theme for my editors and consoles. I find it much less straining to the eye during extended hacking sessions. I am currently using the aforementioned Source Code Pro font on my Windows 7 machine. I've got to say that I needed to get used to it at first, but it really helps after a while. On my Fedora notebook I'm making use of the monospaced variant of Google's Droid fontset. In addition, I am using the infinality freetype patches for improved font rendering (I find that essential with a limited display).
#2
Posted 05 October 2012 - 06:53 AM
I guess the font family is not the only criteria: I find my 13,3" MBP screen is more comfortable (brightness and font smoothness) than my XP's HP 17". Go figure. (Yes, the HP is obviously older).
#3
Posted 05 October 2012 - 09:49 AM
Enjoying Yii? Star us at github
Support me so I can work more on Yii: https://www.patreon.com/samdark
#4
Posted 05 October 2012 - 11:47 AM

Number of downloads: 32
Haven't bothered to change any font settings - maybe I should?
#5
Posted 05 October 2012 - 01:44 PM
Enjoying Yii? Star us at github
Support me so I can work more on Yii: https://www.patreon.com/samdark
#7
Posted 05 October 2012 - 03:15 PM
This week I started experimenting with PhpStorm and it felt bad on the eyes.
Thanks for your recommendations. I'll try these fonts there.
#8
Posted 05 October 2012 - 04:56 PM

Number of downloads: 23
#10
Posted 06 October 2012 - 10:49 AM
qiang, have you tried enabling cleartype and using cleartype-optimized fonts such as Consolas? I've spent lots of time without it and when I've finally turned it on my eyes felt better.
nkd, and again I don't see why it's good when code is on black but panels are still very bright.
Enjoying Yii? Star us at github
Support me so I can work more on Yii: https://www.patreon.com/samdark
#11
Posted 06 October 2012 - 11:05 AM
samdark, on 06 October 2012 - 10:49 AM, said:
Interesting. So if we want to see more of Yii2 before the alpha gets released we just need to trick the core devs into posting more screenshots of their IDEs?

#12
Posted 06 October 2012 - 11:09 AM
Enjoying Yii? Star us at github
Support me so I can work more on Yii: https://www.patreon.com/samdark
#13
Posted 06 October 2012 - 11:25 AM

#14
Posted 06 October 2012 - 11:36 AM
samdark, on 06 October 2012 - 10:49 AM, said:
Yeah, but that doesn't help with Java - that screenshot does look a bit like Netbeans or other Java-based IDE.
That's a royal pain in the rearside.
No matter how much cleartype you set for your window manager, it doesn't apply to Java which has it's very own font rendering engine.

#15
Posted 06 October 2012 - 11:56 AM
#16
Posted 06 October 2012 - 12:00 PM
I'm gradually moving towards Mac OS. I found my productivity improves a lot once I master a lot of keyboard shortcuts, and these IDE's do help a lot.
#17
Posted 06 October 2012 - 01:04 PM

In <netbeans>/etc/netbeans.conf, I append those options to 'netbeans_default_options' :
J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=on -J-Dorg.netbeans.editor.aa.extra.hints=true
Now, the font rendering is acceptable!
And, if you want a different color scheme then here's some alternatives:
Zenburn:
http://netbeans.org/...2-07/message/23
Solarized:
https://github.com/f...olors-solarized
Oblivion-revival and Monokai:
http://codesleepshre...al-and-monokai/
Attached File(s)
-
zenburnNetbeans.png (87.85K)
Number of downloads: 16
#18
Posted 06 October 2012 - 01:07 PM
samdark, on 05 October 2012 - 01:44 PM, said:
Yeah, I think I'll try with Solarized.

I am old and my eyes needs less contrast - hence me favoring dark color schemes.
#20
Posted 06 October 2012 - 01:24 PM
By the way, there is a nice round-up of coding fonts over at codinghorror.com.