diff --git a/src/plugins/clangcodemodel/clangdclient.cpp b/src/plugins/clangcodemodel/clangdclient.cpp index ab7a1ae5a06..ef10edd5eb1 100644 --- a/src/plugins/clangcodemodel/clangdclient.cpp +++ b/src/plugins/clangcodemodel/clangdclient.cpp @@ -2854,9 +2854,10 @@ void ClangdClient::Private::handleSemanticTokens(TextDocument *doc, int version, bool force) { SubtaskTimer t(highlightingTimer); - qCDebug(clangdLog) << "handling LSP tokens" << doc->filePath() << tokens.size(); + qCInfo(clangdLogHighlight) << "handling LSP tokens" << doc->filePath() + << version << tokens.size(); if (version != q->documentVersion(doc->filePath())) { - qCDebug(clangdLogHighlight) << "LSP tokens outdated; aborting highlighting procedure" + qCInfo(clangdLogHighlight) << "LSP tokens outdated; aborting highlighting procedure" << version << q->documentVersion(doc->filePath()); return; } @@ -2864,7 +2865,7 @@ void ClangdClient::Private::handleSemanticTokens(TextDocument *doc, const auto previous = previousTokens.find(doc); if (previous != previousTokens.end()) { if (!force && previous->first == tokens && previous->second == version) { - qCDebug(clangdLogHighlight) << "tokens and version same as last time; nothing to do"; + qCInfo(clangdLogHighlight) << "tokens and version same as last time; nothing to do"; return; } previous->first = tokens; @@ -2881,7 +2882,7 @@ void ClangdClient::Private::handleSemanticTokens(TextDocument *doc, if (!q->documentOpen(doc)) return; if (version != q->documentVersion(doc->filePath())) { - qCDebug(clangdLogHighlight) << "AST not up to date; aborting highlighting procedure" + qCInfo(clangdLogHighlight) << "AST not up to date; aborting highlighting procedure" << version << q->documentVersion(doc->filePath()); return; }