[Idle-dev] Small patch to AutoExpand.py
Mark Hammond
mhammond@skippinet.com.au
Thu, 2 Mar 2000 14:54:52 +1100
> Hmm, I thought, that's more a task for control-space (name-expand or
> something like that). E.g. Emacs has both and they are usefully
> different.
I dont really see how they are different - but then again Pythonwin spoils
me :-)
In Pythonwin, auto-expand is really only useful for name lookups, not item
expansion. As soon as you hit "." in Pythonwin, it looks for a real object
to get a list of attributes from. If it cant find a real object, it uses
the context in the current source file to "guess" the attributes - and it
does a pretty good job.
Thus:
* all my names are usually only 3 characters, then auto-expand.
* all my attributes are one or 2 characters until the list-box selects the
item, then tab.
So I can't really think of what another different, but useful feature would
look like? And as I use auto-expand only for name lookup, I figured that it
may as well do _all_ name lookups :-)
Doesnt worry me tho - just seemed like a small and obvious feature :-)
Mark.