Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Turnoff macro non-processing

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
e-milio Posted - Jul 23 2010 : 2:00:59 PM
Hi, my question is simple, I want to turnoff the macro checking on VA X, to avoid unprocessing from source parsing, i.e.:

#ifdef MY_COMPILATION_FLAG
... Inactive pre-processor block
#endif

So I want to VA X parse the source under #ifdef, totally independently from contex active macro. May is a VS option, any way I coudenG??t find it (IG??m using Visual Studio 2008 / Visual Assit 10.5).

Thanks in advance,
e-milio.
2   L A T E S T    R E P L I E S    (Newest First)
e-milio Posted - Jul 23 2010 : 2:36:16 PM
Yes, after the post I've noticed that the parsing is done by VA but we lose syntax highlight, that a shame, one reason to think about changing to VS 2010 :P...

Thanks accord!
e-milio.
accord Posted - Jul 23 2010 : 2:17:52 PM
Visual Assist parses both active and inactive blocks. However, Visual Studio is not. If you want to turn off graying out inactive source codes, you can do it:

IDE tools menu -> Options -> Text Editor -> C/C++ -> Formatting -> Colorize inactive code blocks in a different color

But Visual Assist parses inactive blocks even when this option is active. The only thing you "lose" when this setting is active is syntax coloring (and it is solved in VS2010: it shows inactive code in paler color but with syntax coloring)

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000