On 10/1/06, Lee Connell <[EMAIL PROTECTED]> wrote:
>             try:
>                 user = model.User.byEmail(email)
>                 user2 = model.User.get(1)

> first off code completion works for "model.User.get()" however it does not
> know about "model.User.byEmail()"
>
> now if i issue "user." which is part of "model.User.byEmail()" call, it does
> auto complete this.
>
> if i call "user2." which is part of "model.User.get()" it does NOT auto
> complete.

Through I don't know the lookup implementation of PyDev, I can comment a bit.
One needs to see the Model snippet to be able to answer your question.
Then I might be able to see the problem.
Please note that it probably not be a bug in PyDev, but confusing
code. How could PyDev
know what object a method does return if one possible return value
might be some object, another a string.

best regards,

            Patrick

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pydev-code mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to