Hello!
It seems Visual Assist erroneously prioritize symbols from system headers (those listed as "Stable include files")
over project local symbols when displaying suggestion lists.
Here's how it looks like.
1) In my project I have this type defined in Rectangle.h file:
struct Rect
{
float x;
float y;
float h;
float w;
}
2) In any cpp file, declare variable of this type:
Rect r;
3) Click the "Rect" word, press Alg+G. Visual Assist (correctly) jumps to the Rect structure definition in Rectangle.h.
4) BUT, when I try to use "r" variable, it will display suggestions based on Rect structure defined in (system wide)
GdiPlusTypes.h (it resides in "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Include" in my case).
Thus, when I type "r.x" it automatically gets corrected to "r.X" ("r.h" to "r.Height" and so on).
Is there any trick to resolve the issue? Or should I just rename my Rect structure?
Thanks!