Syntax highlighting [was Re: Too much code - slicing]

rantingrick rantingrick at
Tue Sep 21 09:37:58 CEST 2010

On Sep 20, 1:29 am, Steven D'Aprano <st... at REMOVE-THIS-> wrote:

> To my eyes, the feature of syntax highlighting that alone makes it
> worthwhile, its killer feature, is that I can set comments and docstrings
> to grey. When I'm scanning code, being able to slide my eyes over greyed-
> out comments and docstrings and ignore them with essentially zero effort
> is a huge help. That's the thing I most miss, more than anything else,
> when using a dumb editor.

Well dumb editors use syntax highlighting also... specifically the
ones that default to bright (attention grabbing!) colors for comments
and/or docstrings... like the color RED! Gawd i hate that! Never
should a comment be a bright color, and RED is the worst choice of
all! Grey for comments, orange for keywords, purple for builtins, and
green for strings is pure bliss. Save red for scary things like global
variables and such. That way you know where the hemorrhaging is coming

More information about the Python-list mailing list