summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/LanguageServers/LanguageServer.ipc
blob: 7cdcd4e635f05e8cfcc68756badb5e2e341d2164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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) =|
    get_parameters_hint(GUI::AutocompleteProvider::ProjectLocation location) =|
    get_tokens_info(String filename) =|

}