forked from qt-creator/qt-creator
Allow certain characters to also trigger the completion
Now you can type characters like ., ( and : to complete the selected item, depending on the type of the completion item. Task-number: QTCREATORBUG-271 Reviewed-by: Roberto Raggi
This commit is contained in:
@@ -171,7 +171,7 @@ void QuickFixCollector::completions(QList<TextEditor::CompletionItem> *quickFixI
|
||||
}
|
||||
}
|
||||
|
||||
void QuickFixCollector::complete(const TextEditor::CompletionItem &item)
|
||||
void QuickFixCollector::fix(const TextEditor::CompletionItem &item)
|
||||
{
|
||||
const int index = item.data.toInt();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user