Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4808690
By: brucevdk

I hope this hasn't been handled before, but there are a lot of threads in which
code completion is discussed so it might have been. I'm using Eclipse 3.3.1.1
with PyDev 1.3.13 (with the Python 2.5.1 interpreter) I'm just experimenting
a little with PyDev and wondering why the following won't work:

class A:
    def __init__(self):
        self.list = []
        self.string = "a string"

if __name__ = "__main__":
    a = A()
    a.list. # PyDev doesn't seem to recognize that this is a list
    a.string. # or that this is a string

Basically I'm unable to auto-complete instance variables, it works just fine
when using class variables i.e.:

class A: 
    list = []
    string = "a string"

Thanks.

Best regards,

Bruce

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to