Etienne Dechamps Etienne Dechamps - 1 year ago 92
C++ Question

Hide a C++ code block from Intellisense

In order to work around some Intellisense deficiencies in MSVC++ 2010, I would like to "hide" some code block from Intellisense, but not from the compiler. For example:

void foo(); // compiled, but skipped by Intellisense

I'm looking for the exact name of this
macro, if such a macro exists; or an equivalent way to do the same thing.

Answer Source

The proper macro for VC++ 2010 is __INTELLISENSE__, as described in this blog article: Troubleshooting Tips for IntelliSense Slowness

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download