forked from qt-creator/qt-creator
QbsPM: Be less aggressive when providing proposals
Change-Id: I3826651030a3ec1c8293625c4c99c0ee31a97a5f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -149,7 +149,7 @@ IAssistProposal *MergedCompletionAssistProcessor::perform()
|
|||||||
});
|
});
|
||||||
m_qbsProcessor->start(std::make_unique<AssistInterface>(m_interface->cursor(),
|
m_qbsProcessor->start(std::make_unique<AssistInterface>(m_interface->cursor(),
|
||||||
m_interface->filePath(),
|
m_interface->filePath(),
|
||||||
ExplicitlyInvoked));
|
m_interface->reason()));
|
||||||
} else {
|
} else {
|
||||||
m_qbsProposal = nullptr;
|
m_qbsProposal = nullptr;
|
||||||
}
|
}
|
||||||
@@ -162,7 +162,7 @@ IAssistProposal *MergedCompletionAssistProcessor::perform()
|
|||||||
return m_qmlProcessor->start(
|
return m_qmlProcessor->start(
|
||||||
std::make_unique<QmlJSCompletionAssistInterface>(qmlJsIface->cursor(),
|
std::make_unique<QmlJSCompletionAssistInterface>(qmlJsIface->cursor(),
|
||||||
qmlJsIface->filePath(),
|
qmlJsIface->filePath(),
|
||||||
ExplicitlyInvoked,
|
m_interface->reason(),
|
||||||
qmlJsIface->semanticInfo()));
|
qmlJsIface->semanticInfo()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user