Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
Qt Creator 4.7.0
-
None
Description
Autocomplete does not work when filling out parameters for method calls - at least local variables and class fields are not offered. Mostly, no autocomplete list is displayed at all.
Steps to repeat:
- Open "BasicDrawing" sample
- Go to RenderArea::paintEvent and append an empty line at the end of the method
- Try coding the following line using autocomplete for all symbols on the way. Type slowly.
QPixmap myPixmap(pixmap);
QPixmap is mostly autocomplete supported (if you don't type too fast). However, after opening the bracket after "myPixmap", the class member "pixmap" is not offered. - Alternatively, try coding
QPixmap myPixmap(painter.clipBoundingRect().size().toSize());
Again, QPixmap is recognized, but painter is not. After typing "painter." the methods are offered again. - Alternatively, try coding
QPixmap myPixmap;
QPixmap myPixmap; myPixmap.fill(painter.brush().color());
When typing ".fill(pa" the symbol "painter" is not offered.