I’ve been using roughly the same color set for Windows programming since I got my first programming job (an internship back in college). I saw someone coding with bright colors on a black background and fell in love. Most of my programming has been in Visual Studio, and with the advent of VS2003, which gave me the freedom to choose colors other than the EGA 16, I managed to find a combo from which I doubt I shall ever (willingly) stray.
I strongly urge anyone to try it out who is discontented with their current scheme. Here it is, as I originally formulated it for C++ development.
- Background = black
- Text (identifiers) = gray
- Operators = white (bold also, if it’s hard to distinguish from the gray… admittedly the separate color for operators is less advantageous in C# than it is in C++, because in C++ code parentheses and braces are considered operators, but in C# they are not)
- Numbers = blue (something lighter than the EGA blue, which tends to be blurry against the black unless you have an LCD or very crisp CRT)
- Strings = Magenta or purple
- Keywords = red
- Preprocessor directives/keywords = yellow
- Comments = green or teal
And for the output window, simple light gray text on black background.
It’s easy on the eyes, which is hugely important. And it makes it trivial to identify the nature of just about any program symbol just by glancing at it.
I wish I had a blog so I could post a picture. =(