Programming colours
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
Your question gave me an idea. I have some coworkers that like to keep code comments to a minimum, and I like to keep them to a maximum. Maybe I should recommend that they use a white background and white text for code comments. :-\
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
If the screen were "inactive" like a piece of paper, then I'd say black on white would be ok. But since it's active, like a lightblub, or a shiny piece of paper, then I think white on black is better (or at least light on dark).
If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein -
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
Always use the default. Seems fine.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me
-
Always use the default. Seems fine.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
Light on dark. Background is #2B2B2B. Standard text is #C0C0C0. Keywords, strings, etc are light pastels.
CPallini wrote:
You cannot argue with agile people so just take the extreme approach and shoot him. :Smile:
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
I always use the default colors. When I first started programming I used Dev-C++ and I modified the colors a bit, such as red for strings, green for numbers and blue for keywords. But when I moved to Visual Studio (6.0 was my first version) I left the colors alone. And that's how I've done it since. I don't seem to have any trouble with it.
djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
In VS2008, C++ coding. I use a slight off-white background and the default text coloring (including VisualAssist coloring). For the font, I started using the free Adobe Source Code Pro[^] font a couple of weeks ago, and it been great so far.
Nihil obstat
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
I used to fiddle with the colour scheme for hours until I got just what I wanted (yes, Notepad++ sucked up a lot of that time a long time ago). I used to like a pale blue on a dark blue background but that wore off and I used dark green on a khaki background for a while, and then...:zzz: Nowadays, since I always seem to be going to colleague's machines to help them out and they invariably have the default (black on white, green comments, etc.) scheme I have switched to just using the defaults - especially since I use a couple of machines at work and another two or three at home I just don't want to spend the time changing them all all the time.
- Life in the fast lane is only fun if you live in a country with no speed limits. - Of all the things I have lost, it is my mind that I miss the most. - I vaguely remember having a good memory...
-
In VS2008, C++ coding. I use a slight off-white background and the default text coloring (including VisualAssist coloring). For the font, I started using the free Adobe Source Code Pro[^] font a couple of weeks ago, and it been great so far.
Nihil obstat
Maximilien wrote:
For the font, I started using the free Adobe Source Code Pro[^] font a couple of weeks ago, and it been great so far.
That doesn't look too bad. I've been using Envy Code R[^] and I like it a lot. I especially like the 'VS' version of the font that swaps bold and italic, so that you can mark things in visual studio as bold but it will show up in italics. Really nice for comments and such.
CPallini wrote:
You cannot argue with agile people so just take the extreme approach and shoot him. :Smile:
-
If I did that then I would have a white background and no colour apart from black for the text.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
In VS or Notepad++? Notepad++ will apply syntax coloring if it recognizes the file type. VS syntax colors everything. Guess I'm just too lazy to care that it has pretty colors as long as I can read the screen clearly: prefer it to look paper.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
In my Visual studio, I have been using black on white for many years, but recently changed the background to a darker tone (228, 228, 228). This is not ideal and I am also interested in what others consider to be less strenuous on the eyes. The only other changes I have from the defaults are Purple for strings and Red for numbers - I feel this really helps me when I am scanning through code looking for something. Soren Madsen
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
We've been through color suggestions before.
It's a matter of personal taste."The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"As far as we know, our computer has never had an undetected error." - Weisert
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
We've been through color suggestions before.
It's a matter of personal taste."The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"As far as we know, our computer has never had an undetected error." - Weisert
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
This[^] one, with a few modifications to visually identify the difference between the types as much as possible. Very easy on the eyes :) --edit I think the 'best' feature is 'Text Editor\All languages\Line numbers', making it easier to communicate on the code;
"You got a possible null-reference on line 1953"
Bastard Programmer from Hell :suss: if you can't read my code, try converting it here[^]
-
Maximilien wrote:
For the font, I started using the free Adobe Source Code Pro[^] font a couple of weeks ago, and it been great so far.
That doesn't look too bad. I've been using Envy Code R[^] and I like it a lot. I especially like the 'VS' version of the font that swaps bold and italic, so that you can mark things in visual studio as bold but it will show up in italics. Really nice for comments and such.
CPallini wrote:
You cannot argue with agile people so just take the extreme approach and shoot him. :Smile:
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
The main change I make (and encourage) in the color scheme is how string types are displayed. I use dark text and a yellow background. e.g: if( strcmp(thisStuff,"Bug Juice") ) rdir("*.*") It's very useful to keep track of unclosed (or incorrectly closed) string types. In some languages, where both single and double quotes delimit string, I may make one black text, the other dark blue or very dark red. In a language like .php, where you're often formatting strings within strings, it makes misplaces single/double quotes really stand out at a glance.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"As far as we know, our computer has never had an undetected error." - Weisert
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
In VS2008, C++ coding. I use a slight off-white background and the default text coloring (including VisualAssist coloring). For the font, I started using the free Adobe Source Code Pro[^] font a couple of weeks ago, and it been great so far.
Nihil obstat
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
Whatever the IDE default is. With the possible exception of the Borland TurboPascal editor 15 years I don't think I ever fiddled with coloring settings; and TP is just too far in the past for me to remember if I tinkered with it or not.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
It's been asked by others before, but I'm going to ask again. Which colours do you use for your editor/IDE? I normally use a white background with blue as the keyword colour and green for strings, and a shade of red for integers/hex values. But I've got a new editor (Notepad++) and I've been playing around with the various default themes it comes with and I quite like some of the "darker" themes. E.G. black or dark grey background and one theme even has a pale khaki green which surprisingly looks quite good. And then I started to think, perhaps certain colours are more better for programming than others. I know that some research was done a while ago which concluded that people doing maths are generally "better" or able to remember sequences of numbers better if they are written down/displayed on screen using different colours. Any thoughts on which colours to use? I'm thinking darker colours for at least the background are less strenuous on your eyes. Edit: Oh and also, which fonts do you use? I normally use things like Courier (Sometimes I can only use Courier, particularly when working on Linux with a terminal) but sometimes fonts that are "smooth" are much more pleasing on the eye.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|===
I pretty much use the defaults for everything, except the background. There I prefer an off white (RGB 240, 240, 255). As for the font, my favorite is ProggyCleanTTSZ at 11 point size.
Independent ACN Business Owner
Need a new cell phone? We supply most of the major carriers. Telus in Canada. Flash, Verizon, T-Mobile and Sprint in the USA. O2, talkmobile, tmobile, orange, three, and vodafone in Europe. See my website for details.
Within you lies the power for good - Use it!