[Qt-creator] Auto-complete not working for typedef objects

Mohammad Mirzadeh mirzadeh at gmail.com
Wed Oct 31 20:47:07 CET 2012


If I use typedef for a complex object to facilitate with naming,
auto-complete fails to do its job. for instance:

std::vector<std::pair<int, double> > A; // can use auto-complete for A
typedef std::vector<std::pair<int, double> > new_type;
new_type B; // auto-complete does not work with B

Is this natural?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20121031/65de09da/attachment.html>

More information about the Qt-creator mailing list