Revision 4369aee...
Go back to digest for 27th March 2011Bug Fixes in Development Tools
Sven Brauch committed changes in [kdev-python] /:
Fixed attribute autocompletion and type scanning for real now.
Uses one of the backtracking algorithms I've learned to like within the
last few days. It just goes back from the current cursor position,
scanning for the end of the AttributeAst (means, an unmatched
parenthesis, or a space without a dot in between) and checks the type of
everything encountered during the scan.
File Changes
Modified 8 files
- codecompletion/pythoncodecompletioncontext.cpp
- duchain/contextbuilder.cpp
- duchain/expressionvisitor.cpp
- parser/ast.cpp
- parser/ast.h
- parser/astbuilder.cpp
- parser/conversionGenerator.py
- parser/python26.sdef
8 files changed in total