[wingide-users] auto completed prompt from current file?
support at wingware.com
Fri Dec 7 12:52:13 MST 2007
> On Friday December 7 2007 12:47:58 pm Michael Foord wrote:
>> Wingware Support wrote:
>>> sunqiang wrote:
>>>> for example foo = bar().
>>>> foo(the return value of bar()) is a string. wingide can't figure it
>>>> as a string, so it can't give auto complete prompt such as
> I recognize inferring return-value types is non-trivial, but I really wish
> wing did this. Maybe an @assert_return_isinstance decorator? Eww..
Wing does infer some return types when it finds the source code for the
function being called, including (probably) the cases where such an
iterator would be used. As a trivial example, the following should be
The option I talked about adding would try to give you something like
the simple completion option found in other editors.
More information about the wingide-users