summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/LanguageClient.cpp
diff options
context:
space:
mode:
authorFederico Guerinoni <guerinoni.federico@gmail.com>2021-06-01 23:54:55 +0200
committerLinus Groh <mail@linusgroh.de>2021-06-23 19:00:11 +0100
commite0f1c237d21be3e2831092319f50bb429ad1f7a9 (patch)
treedafd0e6642cb1766c9f3aadbc2c8e68094dd74c2 /Userland/DevTools/HackStudio/LanguageClient.cpp
parent935c7b2f4b1299aceec32e7e5123f2f014cc6710 (diff)
downloadserenity-e0f1c237d21be3e2831092319f50bb429ad1f7a9.zip
HackStudio: Make TODO entries clickable
Now you can click a TODO entry to set focus on that position of that file.
Diffstat (limited to 'Userland/DevTools/HackStudio/LanguageClient.cpp')
-rw-r--r--Userland/DevTools/HackStudio/LanguageClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageClient.cpp b/Userland/DevTools/HackStudio/LanguageClient.cpp
index 72335a9c36..6e47813609 100644
--- a/Userland/DevTools/HackStudio/LanguageClient.cpp
+++ b/Userland/DevTools/HackStudio/LanguageClient.cpp
@@ -99,7 +99,7 @@ void ServerConnection::declarations_in_document(const String& filename, const Ve
ProjectDeclarations::the().set_declared_symbols(filename, declarations);
}
-void ServerConnection::todo_entries_in_document(const String& filename, const Vector<String>& todo_entries)
+void ServerConnection::todo_entries_in_document(String const& filename, Vector<Cpp::Parser::TodoEntry> const& todo_entries)
{
ToDoEntries::the().set_entries(filename, move(todo_entries));
}