When using a C++ templates (for example, with parameter T) the code completion feature doesn't work for object of specified type T = SomeClass (object is within the template class in public section).
Look for some code:
class SomeClass
{
public:
void some_method() {}
};
template <class T>
class TemplateClass
{
public:
T some_object;
};
int main()
{
SomeClass object1;
object1. //.!!! //Yes! Here code completion feature works good! (shown list with one item: ()some_method)
TemplateClass<SomeClass> object2;
object2.some_object. //...? //Here, I think, must be the same result, isn't it?
return 0;
}
Another problem with code completion - it doesn't work after functions, that return pointer, and -> printed after them.
Try this code as the above one:
class SomeClass
{
public:
void some_method1() {}
};
class AnotherClass
{
private:
SomeClass object;
public:
SomeClass* some_method2() {return &object;}
};
int main()
{
AnotherClass object;
object.some_method2()-> //...? //Here, I think, must be dropped down the list with one item: ()some_method1
return 0;
}
Please, fix this problems!
With regards, critic