1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 11:45:07 +00:00
serenity/Userland/DevTools/HackStudio/LanguageServers/LanguageServer.ipc
Andreas Kling 0af69e8917 HackStudio: Greet language servers asynchronously
There's no need to wait for a response after we've sent the project
path to a newly connected language server.
2021-05-23 09:53:55 +02:00

12 lines
539 B
Text

endpoint LanguageServer
{
greet(String project_root) =|
file_opened(String filename, IPC::File file) =|
file_edit_insert_text(String filename, String text, i32 start_line, i32 start_column) =|
file_edit_remove_text(String filename, i32 start_line, i32 start_column, i32 end_line, i32 end_column) =|
set_file_content(String filename, String content) =|
auto_complete_suggestions(GUI::AutocompleteProvider::ProjectLocation location) =|
find_declaration(GUI::AutocompleteProvider::ProjectLocation location) =|
}