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

Currently, if I define a property on my object (using the @property decorator),
the autocomplete mechanism in PyDev adds the parens to make it look like a 
method
call, which I then have to delete by hand.

Example:

class A(object):
    @property
    def name(self):
        return self.__class__.__name__

When I type "A().na" and autocomplete, I end up getting "A().name()", which
doesn't work.

Can autocomplete be tuned to prevent automatically adding when the matched 
object
is a "property" type (e.g., "isinstance(A.name, property)") ?

______________________________________________________________________
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to