summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/LanguageClient.h
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2021-02-27 09:42:57 +0200
committerAndreas Kling <kling@serenityos.org>2021-02-27 16:37:35 +0100
commita94b5376bcf9428a71ad84fddb87da29c944c05e (patch)
treed265e2d5fddb0b06463f12b5a9771fe598912d9a /Userland/DevTools/HackStudio/LanguageClient.h
parent71c7597130a1c2e4622fc0179eff0cc62ecd4af8 (diff)
downloadserenity-a94b5376bcf9428a71ad84fddb87da29c944c05e.zip
LanguageServers/Cpp: Update client asynchronously about symbols
As a document is parsed, the language server updates the client asynchronously about symbol declarations it finds.
Diffstat (limited to 'Userland/DevTools/HackStudio/LanguageClient.h')
-rw-r--r--Userland/DevTools/HackStudio/LanguageClient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageClient.h b/Userland/DevTools/HackStudio/LanguageClient.h
index 8ec45ede12..938453b1f5 100644
--- a/Userland/DevTools/HackStudio/LanguageClient.h
+++ b/Userland/DevTools/HackStudio/LanguageClient.h
@@ -91,6 +91,7 @@ public:
protected:
virtual void handle(const Messages::LanguageClient::AutoCompleteSuggestions&) override;
virtual void handle(const Messages::LanguageClient::DeclarationLocation&) override;
+ virtual void handle(const Messages::LanguageClient::DeclarationsInDocument&) override;
String m_project_path;
WeakPtr<LanguageClient> m_language_client;