[wingide-users] Auto-completion keywords
support at wingware.com
Fri Dec 9 07:12:08 MST 2011
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).
> 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.
Wingware | Python IDE
Advancing Software Development
More information about the wingide-users