[wingide-users] Auto-completion keywords

Richard Gildea rgildea at gmail.com
Mon Dec 12 11:40:45 MST 2011


Thanks, that sounds great! Keep up the good work.

Richard

On 9 December 2011 06:12, Wingware Support <support at wingware.com> wrote:

> On 12/8/11 6:52 PM, Richard Gildea wrote:
>
>> I think it would be nice for the auto-completion to suggest arg=arg for
>> the case where a keyword to a function is also a local variable (e.g.
>> when passing a variable from function to function). For the following
>> case auto-completion suggests 'bar' followed by 'bar='. I think it would
>> be useful for 'bar=bar' to also be included here (and possibly above the
>> other two).
>>
>> Cheers,
>>
>> Richard
>>
>> def foo(bar=None):
>>   print bar
>>
>> bar = 2
>> foo(bar=bar) # auto-completion could include 'bar=bar'
>>
>
> I think this is a good idea although perhaps bar=bar should be entered
> with the second 'bar' selected rather than having yet another completer
> item.  Pressing , or ) could move past the selection w/o altering it (or
> something like that).  I'll add this to my list.
>
> Thanks,
>
> --
>
> Stephan Deibel
> Wingware | Python IDE
> Advancing Software Development
>
> www.wingware.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20111212/1fe315ca/attachment.html


More information about the wingide-users mailing list