Revision 6b65beb...
Go back to digest for 13th March 2011Features in Development Tools
Sven Brauch committed changes in [kdev-python] /:
Guessing of types for attribute access autocompletion works!
Pretty easy and straightforward, the current line which should be
autocompleted is cut so it doesn't have syntax errors, then thrown into
the parser, and the expression visitor can then guess the type. Almost no
extra code necessary so far (just restructuring).
File Changes
Modified 6 files
- codecompletion/pythoncodecompletioncontext.cpp
- duchain/declarationbuilder.cpp
- duchain/expressionvisitor.cpp
- duchain/expressionvisitor.h
- duchain/usebuilder.cpp
- duchain/usebuilder.h
6 files changed in total