Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Turnoff macro non-processing
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

e-milio
New Member

2 Posts

Posted - Jul 23 2010 :  2:00:59 PM  Show Profile  Reply with Quote
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.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 23 2010 :  2:17:52 PM  Show Profile  Reply with Quote
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)
Go to Top of Page

e-milio
New Member

2 Posts

Posted - Jul 23 2010 :  2:36:16 PM  Show Profile  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000