forked from qt-creator/qt-creator
ClangCodeModel: Get document symbols immediately
... when doing a decl/def switch via clangd. The delay is fine for e.g. populating the outline, but shouldn't be used when dealing with explicit user requests. Change-Id: I0350ed6daf8220ec3b702a3876fbf0f726da8a67 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -229,8 +229,7 @@ private:
|
||||
void removeDiagnostics(const LanguageServerProtocol::DocumentUri &uri);
|
||||
void resetAssistProviders(TextEditor::TextDocument *document);
|
||||
|
||||
enum class SemanticTokensUpdateMode { Now, Delayed };
|
||||
void sendPostponedDocumentUpdates(SemanticTokensUpdateMode semanticTokensUpdateMode);
|
||||
void sendPostponedDocumentUpdates(Schedule semanticTokensSchedule);
|
||||
|
||||
void updateCompletionProvider(TextEditor::TextDocument *document);
|
||||
void updateFunctionHintProvider(TextEditor::TextDocument *document);
|
||||
|
||||
Reference in New Issue
Block a user