mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:58:12 +00:00
LanguageServers/Cpp: Update client asynchronously about symbols
As a document is parsed, the language server updates the client asynchronously about symbol declarations it finds.
This commit is contained in:
parent
71c7597130
commit
a94b5376bc
12 changed files with 83 additions and 19 deletions
|
@ -59,6 +59,8 @@ private:
|
|||
virtual void handle(const Messages::LanguageServer::SetAutoCompleteMode&) override;
|
||||
virtual void handle(const Messages::LanguageServer::FindDeclaration&) override;
|
||||
|
||||
static void set_declarations_of_document_callback(ClientConnection&, const String&, Vector<GUI::AutocompleteProvider::Declaration>&&);
|
||||
|
||||
FileDB m_filedb;
|
||||
OwnPtr<AutoCompleteEngine> m_autocomplete_engine;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue