Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
Qt Creator 3.6.0
-
None
-
Windows 7 64 bit
Description
- Enable the clang code model.
- Open a simple C++ file:
#include <iostream> int main(int argc, char *argv[]) { std::cou }
- Place the cursor behind "cou" and press Ctrl+Space.
It will be completed to "cout". This is correct. - Undo this change.
- Remove a couple of characters from the #include line and press Ctrl+Space.
It will be completed to #include <iostream>. This is correct. - Repeat step 3.
It will be completed to "cout>". This is wrong. If it doesn't happen at first time, repeat it a couple of times.
Code completion should always add correct code. With Creator's built-in code model, this works correctly.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-15695 Code-Completition inserts " or > after auto-completing header include
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-15483 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
143576,2 | Squish: Ignore known issue in clang code model | 3.6 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |