By Peter Bell

What Colorscheme do YOU use for coding?

polyGeek just posted and interesting piece on how to change the text and background colors in Eclipse (specifically in Flex Builder - looks like you'd have to do something similar in CFE as well if you wanted the same color scheme for your CF code).

I have seen various people using the colored on black and used to know a CF coder who lived for that kind of color scheme.

Anyone thoughts on colors for coding (or specifically how to change them in CFE)?

Comments
After years of changing the themes and colours of everything from my desktop to the code of stuff, I have got bored.
Most of my macs and windows machines tend to have only one difference, the desktop picture. Why? because I change them SO often!

I get bored trying to change everything so its just *so* then you use someone else's machine or you have to upgrade (cfeclipse for example) and its all gone, and you are annoyed... why bother unless you REALLY have to (visual impairment for example)

the only thing I would customise is my lunchbox... and I havent had one of those since I was 10
# Posted By Mark Drew | 3/13/07 12:41 PM
When I first installed cfeclipse I went nutso, changing everything to my personal preference. After a few reinstalls of eclipse and cfeclipse, I left the default colour scheme. I've gotten quite used to it and feel odd when I work in another editor.

Point is, having green text vs. red text isn't a competitive advantage for me so long as it is consistent.

I'd like to hear what colour scheme you prefer and why.

dw
# Posted By Dan Wilson | 3/13/07 12:49 PM
and you can change the colour schemes in CFEclipse by going Windows -> Preferences -> CFEclipse -> and then selecting either HTML Colours or CFML Colours or SQL Colours. Knock yourself out...

I bet you use pink ;)
# Posted By Mark Drew | 3/13/07 12:56 PM
Mark - you weren't supposed to tell anyone :-< Dan - the secret it out!

Actually, I leave EVERYTHING default as I'm usually so deep in projects and other stuff I don't have the time. I have heard arguments in the past that a black background with colored text is actually better for looking at all day. Not sure if it is true. If I could stare at CFE 18 hours a day instead of 16, then I'd move to colored text on a black background. If it's just going to make my screen "cooler" - I got other stuff to do.

BTW congrats Mark - sounds like another feature CFE has that Flex Builder doesn't (the change color support). The power of a single overworked man and his bottle of JD. Adobe - what's taking you so long?!
# Posted By Peter Bell | 3/13/07 1:04 PM
@Mark: Hey, didn't you know that pink is the new black? :-)

I was a little annoyed when I installed CFEclipse and found out that I could edit the color coding in the editor. What's up with that? I guess we should be thankful that everything else works as well as it does. And I really doubt that many people change their default colors.

To me it's even more important to change the font-size, up to 12, and the font-face, to Andale Mono.
# Posted By polyGeek | 3/13/07 1:23 PM
Clarification for previous comment above: I meant "What's up with that Adobe?" If you can edit the colors from within CFEclipse then why can't you do the same thing in FlexBuilder?
# Posted By polyGeek | 3/13/07 1:26 PM
Because Mark Drew doesn't work for Adobe

. . . he only works for Jack Daniels or Babysham :->
# Posted By Peter Bell | 3/13/07 1:39 PM
I've been using the black background way before it was popular. Back when I was using InterDev for CF coding. Wow, pushing 9 years ago. First just did it to try it; then kept the look. Back then I was informed that I was a freak for my tie-dyed look. Still got black in Eclipse (copying color scheme) and in DW. Just used to it by now and white bothers me. You can even do a dark (blue) background in Word.
# Posted By MCG | 3/14/07 6:14 AM
I used to like the dark background with light foreground - it reminded me of back from before Win95 entered the scene. I wasn't aware it was ever popular after that... and before that it was the only way I knew about. (in fact, since I've got Ubuntu up I've used the black background in terminal for old-times sake, and on windows I'm already typing "ls" instead of "dir")

But now, I'll just take the default for my IDE. I could care less about the colors - just that there are some. The only point of it for me is to give visual clues for quick scanning of what is going on (so far as I can tell, anyway). Although, I do find black background a bit harder to look at.
# Posted By Sam | 3/19/07 12:52 PM
Sometimes I spend 14 hours in front of a monitor so eye-strain and accompanying headaches have been recurring problems.

After years and years of using the default color scheme in every IDE, including about 3 years on Eclipse, I switched to a custom color scheme in the last week.

It's literally been 'eye-opening'. Yes, it looks cool, but what matters most to me is the dramatic reduction in eye-strain. Its a light on dark-background color scheme put together for the (Eclipse) Aptana plugin's HTML, CSS, JS, PHP, and XML editors. It's absolutely a joy to work with and I wish I'd done this years ago.

Type-face makes a big difference in readability too, not just color scheme.

I wish CFEclipse, like Aptana, allowed for export and import of color schemes. That would make keeping color-schemes when switching or upgrading IDEs not such a problem. However Eclipse does have it's own general preference-export/import mechanism - it's possible that that would save CFEclipse color settings too. I've never tested it. Then there's the option of having multiple Eclilpse installations sharing the same preferences and plugins, which is the way I deal with Eclipse upgrades.

Here are some resources I found that might help anyone interested:

color schemes::
http://gueschla.com/labs/green-chaud/
http://blog.hamstu.com/2008/02/03/the-typography-o...
http://www.lowing.org/fonts/

multiple Eclipse installs with shared preferences/plugins::
http://www.javalobby.org/java/forums/t18678.html
# Posted By LT | 5/9/08 4:08 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.005.