forked from qt-creator/qt-creator
LanguageClient: always delay document highlight request
The request for highlights of the symbol under the cursor takes a considerable amount of time on some servers (at least python). Postpone those requests a bit so that more important requests can be handled before. Change-Id: I35776076a4ee9c0c9b7646e960d3d965506154d3 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -243,6 +243,7 @@ private:
|
||||
void updateFunctionHintProvider(TextEditor::TextDocument *document);
|
||||
|
||||
void requestDocumentHighlights(TextEditor::TextEditorWidget *widget);
|
||||
void requestDocumentHighlightsNow(TextEditor::TextEditorWidget *widget);
|
||||
LanguageServerProtocol::SemanticRequestTypes supportedSemanticRequests(TextEditor::TextDocument *document) const;
|
||||
void handleSemanticTokens(const LanguageServerProtocol::SemanticTokens &tokens);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user