Completions of keywords on the same line as "if xxx:"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Completions of keywords on the same line as "if xxx:"

Luc J. Bourhis
Hi,

let's say I type
     if x < 0: cont
the keyword “continue” does not appear in the completion list popped  
up by Wing 2.0.2-1. It does however if I type
     if x < 0:
         cont
The same remark holds good for the keywords “break”, “return”,  
“yield”, “raise”.
Since it is a frequent pattern of mine to keep those keywords on the  
same line as the “if”, …

Thanks for that tremendous tool,

Luc Bourhis
_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Completions of keywords on the same line as "if xxx:"

Mike Rovner
Wingware Support wrote:

> On Thu, 11 Aug 2005, Luc Bourhis wrote:
>
>>let's say I type
>>    if x < 0: cont
>>the keyword �continue� does not appear in the completion list popped up by
>>Wing 2.0.2-1. It does however if I type
>>    if x < 0:
>>        cont
>>The same remark holds good for the keywords �break�, �return�, �yield�,
>>�raise�.
>>Since it is a frequent pattern of mine to keep those keywords on the same line
>>as the �if�, �
>
>
> The auto-completer seems to be confused about the context in this
> case.  Thanks for reporting this.
>
> - Stephan
>

It's also seems to be confused in import one, <here> and one.two.<here>.
(also from 1.2.here and from x import one,here).

Thanks,
Mike
_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide