Revision 512f244...
Go back to digest for 19th June 2011Bug Fixes in Development Tools
Sven Brauch committed changes in [kdev-python] /:
Fix imports like "import a.b.c".
It just creates a declaration named "a.b.c" now, and the expression
visitor checks whether such a declaration exists when parsing
attributes.
This is very convenient for autocompletion, too, as you are offered the
fully-qualified dotted name instead of the individual components (which
do not make sense at all).
File Changes
Modified 6 files
- duchain/contextbuilder.cpp
- duchain/contextbuilder.h
- duchain/declarationbuilder.cpp
- duchain/expressionvisitor.cpp
- duchain/expressionvisitor.h
- duchain/usebuilder.cpp
6 files changed in total