Find references is a good feature, but it could HELP even more with correct icons next to references.
I will talking about function call references. There are 2 types of icons:
1. pink box (for definitions/declarations) 2. two rectangle and an arrow (for calling positions)
I reproduced 2 cases, when VAX do not put the corrent icon.
--- Header source:
class cTest { public: virtual void Func1(void); void Func2(void);
void Func3(void); };
class cDerived : public cTest { public: virtual void Func1(void);
void cDerived::Func4(void) { Func1(); }
};
--- CPP source:
void cTest::Func2(void) { Func1(); }
void cTest::Func3(void) { Func2(); }
void cTest::Func1(void) {
}
--- To reproduce the bugs, please put the cursor over Func1 declaration in the class cTest and call Find References. The references are:
test.h [pink icon] virtual void Func1(void); <- it is good [pink icon] virtual void Func1(void); <- it is good [pink icon] Func1(); <- not good. should be an arrow icon
test.cpp [arrow icon] Func1(); <- it is good [arrow icon] void cTest::Func1(void); <- not good. should be pink icon
When I working with virtual functions with a lot of references to it, this fix would-be help a lot
Later, a differentation of function definitions and declarations would be nice also
By adding a new feature that can - hide/show function references (callers) - hide/show function declarations - hide/show function definitions VAX team can create a really KILLER feature!