Bug 368263

Summary: python plugin: code completion could show documentation of items
Product: [Developer tools] kdev-python Reporter: Gregor Mi <codestruct>
Component: generalAssignee: Sven Brauch <mail>
Status: RESOLVED FIXED    
Severity: wishlist CC: mail
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gregor Mi 2016-09-05 09:35:02 UTC
In a regular code completion scenario I type the name of the object like

my_object

then I press the dot

my_object.

and then a list of possible methods for the object appears.

It would be nice if one could see the method's documentation while scrolling through the list.
Comment 1 Sven Brauch 2016-09-05 16:47:06 UTC
You can, just press Alt. :)
Comment 2 Gregor Mi 2016-09-05 18:42:36 UTC
Pressing the Alt key works when the method name is already written in the code but not within the completion list.
Comment 3 Sven Brauch 2016-09-05 19:41:08 UTC
Git commit cdce7813857d729755c02eaa0e9b2985f052dd7c by Sven Brauch.
Committed on 05/09/2016 at 19:38.
Pushed by brauch into branch 'master'.

Support expanding widgets in the completion list.

M  +10   -0    codecompletion/items/declaration.h

http://commits.kde.org/kdev-python/cdce7813857d729755c02eaa0e9b2985f052dd7c
Comment 4 Sven Brauch 2016-09-05 19:41:50 UTC
Heh, you're right. I wasn't even aware that this feature needs to be enabled explicitly; I don't really use it. But there you go.
Comment 5 Gregor Mi 2016-09-05 19:49:52 UTC
cool! thanks.