Syntax highlighting
Apr. 25th, 2007 12:50 pmHow much syntax highlighting do you generally get when you edit code? Any?
Does it call out different variable types?
Can you easily configure it dynamically to eg. highlight different ifdef branches or variables with certain prefixes?
Should it be able to?
Does it call out different variable types?
Can you easily configure it dynamically to eg. highlight different ifdef branches or variables with certain prefixes?
Should it be able to?
no subject
Date: 2007-04-26 08:39 am (UTC)I have it set to distinguish built-in types from types defined somewhere in my solution, but no more distinction between variable types than that, and no highlighting on the actual identifiers.
There's a system for highlighting variables with certain prefixes but I tried prefixing my variables once and didn't like it much, and with comprehensive Intellisense / go-to-definition there isn't much point (the information is sufficiently close-to-hand that prefixes are just clutter).
The code highlighting plays well with the very limited C# preprocessor and would probably handle C preprocessor if I put it in C++ mode.
There are about a million different extra highlighting options that I have turned off because I ran out of non-distracting, easy-to-read, easily-distinguished, pleasant colours. But it's nice to know they're there - if I had a different code-base I'd probably use different features.