Re: [Pydev-code] code completion issues
Brought to you by:
fabioz
From: Patrick G. <do3...@go...> - 2006-10-02 21:12:29
|
On 10/1/06, Lee Connell <lee...@ho...> 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 |