summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/LanguageServers/Cpp/LexerAutoComplete.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/LanguageServers/Cpp/LexerAutoComplete.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/LanguageServers/Cpp/LexerAutoComplete.h')
-rw-r--r--Userland/DevTools/HackStudio/LanguageServers/Cpp/LexerAutoComplete.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageServers/Cpp/LexerAutoComplete.h b/Userland/DevTools/HackStudio/LanguageServers/Cpp/LexerAutoComplete.h
index 58a836cce2..efbf246439 100644
--- a/Userland/DevTools/HackStudio/LanguageServers/Cpp/LexerAutoComplete.h
+++ b/Userland/DevTools/HackStudio/LanguageServers/Cpp/LexerAutoComplete.h
@@ -39,7 +39,7 @@ using namespace ::Cpp;
class LexerAutoComplete : public AutoCompleteEngine {
public:
- LexerAutoComplete(const FileDB& filedb);
+ LexerAutoComplete(ClientConnection&, const FileDB& filedb);
virtual Vector<GUI::AutocompleteProvider::Entry> get_suggestions(const String& file, const GUI::TextPosition& autocomplete_position) override;