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
-