When defining custom rules, Intellisense doesn’t work

5 pts.
Tags:
Custom rules
Microsoft Visual Studio
I am using Visual Studio as IDE for compiling project with other specific compiler, so to make everything work I made my own custom rules for compiling and linking. The problem is that Open Document option doesn't work. For example: in file main.cpp there is a line #include "Types.h" Highlight 'Types', right click, press Open Document, this actually works if main.cpp and Types.h are in the same directory, but suppose Types.h is in directory 'CommonTypes'... it doesn't work...even if i add "CommonTypes " I have a field "Additional Include Paths" in my custom rule which is used when compiling, but I don't know how to associate given paths with Visual Studio 'build system path' which as I guess is used when invoking 'Open Document' option... Is that even possible? Sure I could go to Tools->Options->VC ++ directories and add paths there, but it will add paths for all projects on my pc and I don't want this. I guess this is also related to this problem, for ex., Preprocessor defines like _DEBUG, also doesn't work, cause Intellisense doesn't see them

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: