mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 07:24:58 +00:00

This moves all code comprehension-related code to a new library, LibCodeComprehension. This also moves some types related to code comprehension tasks (such as autocomplete, find declaration) out of LibGUI and into LibCodeComprehension.
15 lines
636 B
Text
15 lines
636 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(CodeComprehension::ProjectLocation location) =|
|
|
find_declaration(CodeComprehension::ProjectLocation location) =|
|
|
get_parameters_hint(CodeComprehension::ProjectLocation location) =|
|
|
get_tokens_info(String filename) =|
|
|
|
|
}
|