------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=140800 Summary: code completion doesnt work with typedefs Product: kdevelop Version: 3.4.0 Platform: Compiled Sources OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: kdevelop-bugs kdevelop org ReportedBy: th_veith web de Version: 3.4.0 (using KDE Devel) Installed from: Compiled sources Compiler: gcc 4.1.1 OS: Linux As impressive code completion in 3.4.0 is, typedefs dont work properly. Take following code: class Foo { public: void spam(); }; template class Ptr { T *ptr; public: Ptr(T* val) : ptr(val) {} T* operator->() { return ptr; } void dump() {} }; .. Foo *foo = new Foo(); foo-> ... this works Ptr ptrA(foo); ptrA-> ... this works (congrats) #define PtrB Ptr PtrB ptrB(foo); ptrB-> ... this works also (congrats) typedef Ptr PtrC; PtrC ptrC(foo); ptrC-> ... this doesnt work :-( Hope this is not too hard to fix, because aside of this, kdevelop 3.4 really rocks!