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

rantingrick rantingrick at gmail.com
Tue Sep 21 03:37:58 EDT 2010


On Sep 20, 1:29 am, Steven D'Aprano <st... at REMOVE-THIS-
cybersource.com.au> 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
from!



More information about the Python-list mailing list