Improvement of autocompletion

Milian Wolff mail at milianw.de
Thu Nov 25 20:02:28 UTC 2010


Silvère LESTANG, 25.11.2010:
> Hi,
> when we write the parameters of function/method, KDevelop doesn't display
> any help by default even if we use the auto-completion for complete the
> method name. We need to press Ctrl+Space in order to have 2 pop-ups showing
> the method signature above and a list of other methods/things below.
> I would like to modify this by always displaying a tooltip with the
> parameters in bold like in QtCreator when we complete the parameters of a
> method.
> See screenshots here:
> http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/User_Testing_Sorted#
> Proposition
> 
> What do you think about my idea?

The things you have to compare are only the upper completion box in KDevelop 
with the box you see in Qt-Creator. The rest, below, is just normal code 
completion.

So, if we compare those two, what's the issue exactly? I'd personally say:
The KDevelop solution is too crowded and it looks too similar to the rest of 
the completion item, even though you cannot execute them.

So indeed, we might want to improve this situation by changing the visuals of 
the pure-informatic items in the group. The question is how, as far as I know 
the internals it will be quite some work... Afaik it's all in a model and 
maybe the group-index of the information list could get some flag set that 
makes it clear that it's pure-informatic.

And of course the question is: What's better? The item should still be 
expandable via the keyboard (so you can read documentation etc. pp.), just 
like you do know. If we break the visual association, users might not know 
they can do this...

A first start would be though to show a proper title (like "Local" or "Public" 
below) for the function group, as well as showing that tooltip in automatic 
code completion as well (maybe make that configurable). I have to admit I 
didn't know the latter wasn't already the case, but well - I never use 
automatic code completion...

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101125/6a986468/attachment.sig>


More information about the KDevelop-devel mailing list