Background: We ship an SDK. The Visual assist "find symbol" dialog is showing lots of internal details which we'd like to hide.
Is there some preprocessor definition we can check to #if out some blocks? (like __INTELLISENSE__). We'd really like things to "just work" for clients and not have to suggest modifying their settings.
Googling and looking at the docs would lead me to think there is no such thing, but here's hoping.
Even better would be some kind of pragma which allows one to locally or globally specify excluded patterns or regexes instead of horrible #ifdefs. e.g. #pragma VASSIST ignore_glob *_Auto*
For now, on the off chance that it helps, one obvious solution would be to use #if 0, but if that part of the code needs to be compiled on client's machine, it isn't a good idea.
Thanks. The code is in headers so #if 0 isn't an option.
Would you mind filing this as two separate requests?
1) a way to switch off blocks via the preprocessor 2) a pragma to ignore certain patterns of symbols
Looking at our use case again, #2 was almost an afterthought while writing the post. However it would probably be neater and easier to use. I can imagine that using the preprocessor, it would be easy to confuse vassists code parser.