Add completion for function signatures.

You now get the function parameters as a completion suggestion when
declaring or defining a function. The tooltip for function calls
is unchanged.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
Christian Kamm
2009-10-19 14:14:28 +02:00
parent e4f24ab53f
commit 202fef42ca
2 changed files with 79 additions and 4 deletions

View File

@@ -117,7 +117,8 @@ private:
bool completeInclude(const QTextCursor &cursor);
bool completeConstructorOrFunction(const QList<CPlusPlus::TypeOfExpression::Result> &,
const CPlusPlus::LookupContext &);
const CPlusPlus::LookupContext &,
int endOfExpression);
bool completeMember(const QList<CPlusPlus::TypeOfExpression::Result> &,
const CPlusPlus::LookupContext &context);