[wingide-users] Completion for with statement target

Wingware Support support at wingware.com
Thu Nov 13 12:26:45 MST 2008


We just release a patch for this, which may be downloaded via Help -> 
Check for Updates or from our website.

Cheers,

John

Pete wrote:
> 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
> 
> _________________________________________________
> Wing IDE users list
> http://wingware.com/lists/wingide



More information about the wingide-users mailing list