Bug 368263 - python plugin: code completion could show documentation of items
Summary: python plugin: code completion could show documentation of items
Status: RESOLVED FIXED
Alias: None
Product: kdev-python
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Sven Brauch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-05 09:35 UTC by Gregor Mi
Modified: 2016-09-05 19:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.