From e0f1c237d21be3e2831092319f50bb429ad1f7a9 Mon Sep 17 00:00:00 2001 From: Federico Guerinoni Date: Tue, 1 Jun 2021 23:54:55 +0200 Subject: HackStudio: Make TODO entries clickable Now you can click a TODO entry to set focus on that position of that file. --- Userland/DevTools/HackStudio/LanguageClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/DevTools/HackStudio/LanguageClient.cpp') 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& todo_entries) +void ServerConnection::todo_entries_in_document(String const& filename, Vector const& todo_entries) { ToDoEntries::the().set_entries(filename, move(todo_entries)); } -- cgit v1.2.3