[wingide-users] Completion for with statement target

Pete pfein at pobox.com
Wed Nov 12 14:06:51 MST 2008


This is still broken in 3.1.5. Yes, I'm nagging.

I encounter this problem on a daily basis, made worse by Wing's  
insistence on replacing `foo` with `Foo` as soon as I hit a`.` ;-(

On Oct 13, 2008, at 3:31 AM, Pete wrote:

> On Oct 10, 2008, at 7:17 PM, John Ehresman wrote:
>
>> Pete wrote:
>>> Wing doesn't recognize the as-variable in a with-statement for  
>>> completion purposes.  For example, foo is not presented in the  
>>> completion list:
>>> with Foo() as foo:
>>>   do_things(f
>>
>> This is a bug and we intend to fix it soon.
>
> You can work around this like:
>
> with Foo() as foo:
>     foo = foo # help wingide out
>     do_things(f
>
> but that's OMG lame.
> _________________________________________________
> Wing IDE users list
> http://wingware.com/lists/wingide



More information about the wingide-users mailing list