mirror of
https://github.com/RGBCube/serenity
synced 2025-10-17 19:32:07 +00:00
HackStudio: Add C++ Language Server
The language server keeps track of the content of currently edited files by receiving updates about edit actions. Also, C++ autocompletion is no longer tied to HackStudio itself and moved to be part of the language server.
This commit is contained in:
parent
bf53d7ff64
commit
863f14788f
18 changed files with 451 additions and 21 deletions
|
@ -0,0 +1,11 @@
|
|||
endpoint CppLanguageServer = 8001
|
||||
{
|
||||
Greet(String project_root) => (i32 client_id)
|
||||
|
||||
FileOpened(String file_name) =|
|
||||
FileEditInsertText(String file_name, String text, i32 start_line, i32 start_column) =|
|
||||
FileEditRemoveText(String file_name, i32 start_line, i32 start_column, i32 end_line, i32 end_column) =|
|
||||
SetFileContent(String file_name, String content) =|
|
||||
|
||||
AutoCompleteSuggestions(String file_name, i32 cursor_line, i32 cursor_column) => (Vector<String> suggestions)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue