How to find out why auto-complete doesn't work in some cases?
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.
import AAA
AAA = AAA.getNew()
AAA.BBB.method() # autocomplete works for BBB but not for method()
"""
# Inside AAA.py:
from BBB import BBB
"""
Please sign in to leave a comment.
Hello Sorin,
Unfortunately the only way at the moment to diagnose why autocompletion doesn't
work is to step through PyCharm code in the debugger, which is something
that only JetBrains developers can do.
You're welcome to submit a YouTrack issue with the details, and we'll investigate
the problem.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"