[Qt-creator] Another bugs in auto-completion
Gena
genacid at inbox.ru
Sun Jun 7 14:48:45 CEST 2009
Hi!
I've noticed a fail of code-completion with QStringList class. Code-completion
doesn't show methods of list items, for example:
QString str = "test";
QStringList list;
list.push_back(str);
list.first().<?nothing here?>
list[0].<?nothing here?>
list.at(0).<?nothing here?>
But next code works fine:
QString str = "test";
QList<QString> list;
list.push_back(str);
list.first().<list of QString methods>
list[0].<list of QString methods>
list.at(0).<list of QString methods>
~
Another annoying thing is about automatically insert closing bracket for empty
methods (i.e. with empty list of parameters). All works fine for non-overloaded
methods, but when there is alternatives - code-completion window appears with
the list of overloaded methods (in this case - overloaded only by returning
type). There is a compiler work, not mine to choose correspond method... May be
my explanations isn't clear, so I attached snapshots
-----|-
Gena.
P.S. I'am using qt-creator from git (dcda330906b2ce8ae1c289832270e102e6cb3936)
compiled by Qt 4.5.1 on Debian testing amd64.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: empty_method_completion_suggestion0.png
Type: image/png
Size: 118638 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090607/5b3eae9d/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: empty_method_completion_suggestion1.png
Type: image/png
Size: 118370 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090607/5b3eae9d/attachment-0001.png
More information about the Qt-creator-old
mailing list