As an example, Konversation ships a "konversation" package containing "i18n" and "dbus" modules, and several scripts making use of that package in the following fashion: import konversation.i18n konversation.i18n.init() kdev-python won't show a tooltip for init() here, though, despite the "konversation" package being on PYTHONPATH. According to Sven on IRC, this is because of unimplemented functionality in kdev-python. Quote: [20:26] <scummos> yeah, so the problem is this; it creates a declaration for "konversation.i18n" [20:26] <scummos> but in line 43, it looks for "konversation"."i18n" [20:26] <Sho_> ah [20:26] <scummos> it must create a differently named declaration, i'm aware of that problem [20:26] <scummos> however it's not entirely trivial, because it needs to create a new "structure" object and only import that one declaration into it
Wow, this really turned out to be terribly difficult. I still wasn't able to fix it. I'll try it in a different way now... but it'll take some more time :)
This is fixed in 512f244. You're welcome to try if it works for you (and if you like the solution). Cheers, Sven
Yay :). I haven't used it much yet, but on first glance it seems to work well now. Thanks, that was a key missing bit to making KDev-Python quite useful here.