1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 00:44:58 +00:00
serenity/Userland/DevTools/HackStudio/LanguageServers/LanguageServer.ipc
Itamar b1531b78f6 HackStudio+CppLanguageServer: Remove lexer-based autocomplete engine
The parser-based autocomplete engine is at a point where it's stable
enough that I don't think there's a need for the lexer-based
alternative anymore.
2021-05-16 16:39:21 +02:00

12 lines
542 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) =|
}