The following forum message was posted by  at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4388159:

Is there a way to hint PyDev what is the type a variable (or property) so it
can provide autocompletion?

[code]
class C(object):
    def __init__(self, p):
        self.p = p #@type self.p: module.AnotherClass
   
    def m(self):
        self.p. # autocompletion for AnotherClass opens
[/code]

Regards,
Emil

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to