mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LanguageServers: Add function to collect TODO entries in a document
This commit is contained in:
parent
c397e030f4
commit
26a7356e90
12 changed files with 103 additions and 0 deletions
|
@ -22,6 +22,9 @@ public:
|
|||
m_autocomplete_engine->set_declarations_of_document_callback = [this](const String& filename, Vector<GUI::AutocompleteProvider::Declaration>&& declarations) {
|
||||
async_declarations_in_document(filename, move(declarations));
|
||||
};
|
||||
m_autocomplete_engine->set_todo_entries_of_document_callback = [this](const String& filename, Vector<String>&& todo_entries) {
|
||||
async_todo_entries_in_document(filename, move(todo_entries));
|
||||
};
|
||||
}
|
||||
|
||||
virtual ~ClientConnection() override = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue