Improvement of autocompletion
mail at milianw.de
Thu Nov 25 20:02:28 UTC 2010
Silvère LESTANG, 25.11.2010:
> 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
> See screenshots here:
> 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
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...
mail at milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part.
More information about the KDevelop-devel