forked from qt-creator/qt-creator
ClangCodeModel: Implement global "follow symbol" via clangd
Change-Id: Iaa58e3ee2e74b1a1210850f944df942e3669d247 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -786,13 +786,14 @@ void CppEditorWidget::findLinkAt(const QTextCursor &cursor,
|
||||
|
||||
const Utils::FilePath &filePath = textDocument()->filePath();
|
||||
|
||||
followSymbolInterface().findLink(CppTools::CursorInEditor{cursor, filePath, this},
|
||||
std::move(processLinkCallback),
|
||||
resolveTarget,
|
||||
d->m_modelManager->snapshot(),
|
||||
d->m_lastSemanticInfo.doc,
|
||||
d->m_modelManager->symbolFinder(),
|
||||
inNextSplit);
|
||||
followSymbolInterface().findLink(
|
||||
CppTools::CursorInEditor{cursor, filePath, this, textDocument()},
|
||||
std::move(processLinkCallback),
|
||||
resolveTarget,
|
||||
d->m_modelManager->snapshot(),
|
||||
d->m_lastSemanticInfo.doc,
|
||||
d->m_modelManager->symbolFinder(),
|
||||
inNextSplit);
|
||||
}
|
||||
|
||||
unsigned CppEditorWidget::documentRevision() const
|
||||
|
||||
Reference in New Issue
Block a user