Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.0.0-beta1
-
Ubuntu 15.10 64 bit
Description
- Have a simple C++-file:
#include <QString> int main(int argc, char *argv[]) { auto str = new QString; st return 0; }
- Place the cursor behind "st".
- Type "r."
"." is not being replaced with "->" unless you wait for more than a second after typing the "r".
str is a pointer to an object, so the "." should be replaced with the "->" operator. The needed parsing must be quicker than the developer is typing.
Found by Squish test tst_memberoperator.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-18769 Clang Code Model is slow for completing class
-
- Closed
-
- resulted from
-
QTCREATORBUG-11581 Clang: Editor does not replace "." operator for pointers
-
- Closed
-