I have a dumb question… when I am working with my class objects, auto-complete works while I am directly accessing the Class, but when I create an instance of the Class, the instance doesn’t work with auto-completion.
For example:
MyClass.staticMethod() # “staticMethod” will auto-complete
but…
instance = MyClass()
instance.classProperty # doesn’t auto-complete the property…
looking at the dir of both the class itself and instance returns the same list…
dir (MyClass)
[‘staticMethod’, ‘classProperty’]
dir(instance)
[‘staticMethod’, ‘classProperty’]
I am missing or doing something really stupid?
I use Wing IDE and the Charcoal Editor for Maya for Python development.