I would like to find out why autocomplete stop working in some cases. I encounter this issue on both 1.5 and 2.0 EAP.
By example: when writing something like AAA.BBB.method the methods from BBB are not displayed.
AAA is a package and also a variable name (an instance of AAA class from AAA package).
BBB is a module imported inside AAA.
I am fully aware that a variable should not be named after module name but this is not my code and I would like to know of this is the real cause for the issues I encounter and if there are alternatives. The bad part is that PyDev seems to have no problems with this and most of the team is using PyDev.
AAA = AAA.getNew()
AAA.BBB.method() # autocomplete works for BBB but not for method()
# Inside AAA.py:
from BBB import BBB