[Qt-creator] code completion not correct
Andree Günther
guenther at mpanrw.de
Fri Nov 6 13:13:13 CET 2009
Hello everyone,
i noticed that the code completion acts a little weired or is rather
incomplete regarding enumerations.
I attached a little graphic to make clear what i mean. (tried to make it
as small as possible - i hope this is ok)
Entry 1 shows what is displayed when first typing the comma,
entry 2 shows what is displayed when the comma gets removed and typed in
a second time
(even if behaviour 1 is correct this shouldn't happen i think),
entry 3 shows what should be displayed if the code predition has to be
of any use.
In other Words: The code-prediction must analyze what is already typed
and in this case recognize
the the first argument is of type QString - then a: hide the
non-matching functions (QTextStream constructor in this case)
and b: if the current argument is an enum show its emements.
To me, this sounds kind of hard to implement :-) - but is it
possible/planned to implement this?
Regards,
Andre
________________________________________
Materialpruefungsamt Nordrhein-Westfalen
Marsbruchstrasse 186
D-44287 Dortmund
Telefon: +49 (231) 4502-0
Telefax: +49 (231) 458549
E-mail: info at mpanrw.de
Internet: www.mpanrw.de
USt.-IdNr.: DE 124 728 648
Brandpruefzentrum Erwitte
Auf den Thraenen 2
D-59597 Erwitte
Telefon: +49 (2943) 897-0
Telefax: +49 (2943) 897-33
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prediction.png
Type: image/png
Size: 20010 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20091106/0b71be2a/attachment.png
More information about the Qt-creator-old
mailing list