Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
Qt Creator 3.1.0-rc1
-
Windows 7 64 bit
Ubuntu 13.10
Description
- Enable the clang code model.
- In a source file, include iostream:
#include <iostream>
- Type the following beginning of a line:
std::cout << std::en
- Press Alt-Space.
Two possible autocompletions are being shown. - Select "endl" and press Enter.
The line will be completed to:std::cout << std::endl()
This is not even syntactically correct. The code can't be compiled.
The line should be completed to:
std::cout << std::endl
With Creator's built-in code model, this works correctly.