[wingide-users] Autocomplete Confusion
support at wingware.com
Thu Feb 19 12:17:14 MST 2009
Michael Foord wrote:
> Hello guys,
> In tests we often monkey patch instances. This breaks Wing autocomplete
> and it seems like it shouldn't.
> If you do the following:
> instance = Class()
> instance.method = Mock()
> Wing doesn't offer autocomplete on any members of instance.method even
> though it could know that this is an instance of the Mock class...
Yes, currently Wing only looks at the contents of the class def
and values set w/ 'self.whatever = something' as far as deciding
what's in an instance.
This is something we'll try to improve in the future.
Wingware | Python IDE
Advancing Software Development
More information about the wingide-users