Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 1.2.1, Qt Creator 1.3.0
-
None
-
eb30ab6604063550fea2d44a573299b95d459c3c
Description
Steps to reproduce / test case:
I discovered it when using the boost library. I used the namespace alias:
namespace po = boost::program_options;
Code using this namespace alias compiles fine but the code autocompletion mechanism does not work.
This means 'po::' will not trigger an autocomplete and neither will typing an object method '.' on any object creating using the namespace alias.
Attachments
Issue Links
- replaces
-
QTCREATORBUG-582 namespace alias not recognized, underlined as incorrect code, and not searched for automatic creation
- Closed
-
QTCREATORBUG-587 No support for aliassed namespace names
- Closed
For Gerrit Dashboard: QTCREATORBUG-166 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
9491,1 | C++: Fix completion for namespace aliases at global or namespace scope. | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
57630,7 | C++: add support for local types | 2.8 | qt-creator/qt-creator | Status: ABANDONED | -1 | 0 |
57764,2 | C++: add support for local types | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |