Re: Commenting C++ code - TIPS
From: John Harrison (john_andronicus_at_hotmail.com)
Date: 6 May 2004 20:06:02 GMT
"bartek" <firstname.lastname@example.org> wrote in message
> "John Harrison" <email@example.com> wrote in
> > Using an IDE that has syntax colouring you would immediately see which
> > block was commented out. I've never seen an IDE that can colour #if
> > #else #endif blocks though.
> FYI, gvim does it. Maybe it's not an IDE in full-blown-sense-of-the-word,
> though, but a bloody useful code editor nonetheless.
Does it colour the block depending on whether it will be compiled or not?
// one colour
// another colour
That's what struck me as useful about rajeshb's tip.