MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / handleTokenFull

Method handleTokenFull

src/plugins/codeeditor/lsp/languageclienthandler.cpp:275–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275void LanguageClientHandlerPrivate::handleTokenFull(const QList<lsp::Data> &tokens, const QString &filePath)
276{
277 if (!editor || editor->getFile() != filePath || !editor->lexer())
278 return;
279
280 metaObject()->invokeMethod(languageWorker,
281 "handleDocumentSemanticTokens",
282 Qt::QueuedConnection,
283 Q_ARG(QList<lsp::Data>, tokens));
284}
285
286void LanguageClientHandlerPrivate::handleShowHoverInfo(const newlsp::Hover &hover)
287{

Callers

nothing calls this directly

Calls 2

getFileMethod · 0.45
lexerMethod · 0.45

Tested by

no test coverage detected