Hi,
After more than 10 years using VA, here is the most annoying thing I still have (and never took time to report):
A real example I currently have:
// DatabaseObject.h
class DatabaseObject
{
bool Drop();
}
// DatabaseColumn.h
class DatabaseColumn : public DatabaseObject
{
}
// test.h
class DatabaseColumn;// forward declaration
void f(DatabaseColumn* pDatabaseColumn);
// test.cpp
void f(DatabaseColumn* pDatabaseColumn)
{
pDatabaseColumn->Drop();
}
What I get: If I hover "Drop()" and call VA context menu, I get proposal "Add include DatabaseObject.h", which is the file of the base object declaration. If I add it, compiler would complain with "error C2027: use of undefined type 'DatabaseColumn'"
What I expect: If I hover "Drop()" and call VA context menu, I get proposal "Add include DatabaseColumn.h", which is the file of the derived (and expected) object declaration.
By comparison, Resharper proposes the proper file
Regards,
Leto