T O P I C R E V I E W |
drac |
Posted - Jun 19 2009 : 08:54:16 AM Hi,
Visual Assist doesn't parse correctly _CPPUNWIND and other possible predefined macros (see picture below).
Predefined Macros:
Visual Studio .NET http://tinyurl.com/ngt3w3 Visual Studio 2005 http://tinyurl.com/mxfq29 Visual Studio 2008 http://tinyurl.com/nvhcmy Visual Studio 2010 http://tinyurl.com/kvk2gh
And the mandatory screenshot:
Cheers!
|
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jun 19 2009 : 2:17:57 PM An easy mistake to make
No, currently VA does not attempt to work out or colour inactive code. In fact VA is designed to be active and helpful even in inactive code, since just because you are going to want help when editing code that is not active on the current platform. |
drac |
Posted - Jun 19 2009 : 12:51:22 PM Thanks for the tip. I thought that VA did that, my bad, sorry. Should VA do this properly? |
feline |
Posted - Jun 19 2009 : 12:13:33 PM What is the problem? If you are looking at the colouring of this std::cout line then this is actually the IDE, it is nothing to do with VA. Try turning off:
IDE tools menu -> Options -> Text Editor -> C/C++ -> Formatting -> Colorize inactive code blocks in a different color
and see what happens. This is an interesting IDE feature, but various people, me included, have seen it get the colouring wrong. |