mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:57:44 +00:00
LanguageServers: Add ProjectLoaction, Declaration types and use in IPC
With this we can avoid passing (name, line, column) tuples in many different places.
This commit is contained in:
parent
daf18e7777
commit
4b483071fb
10 changed files with 93 additions and 33 deletions
|
@ -7,8 +7,7 @@ endpoint LanguageServer = 8001
|
|||
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) =|
|
||||
AutoCompleteSuggestions(GUI::AutocompleteProvider::ProjectLocation location) =|
|
||||
SetAutoCompleteMode(String mode) =|
|
||||
FindDeclaration(String file_name, i32 line, i32 column) =|
|
||||
|
||||
FindDeclaration(GUI::AutocompleteProvider::ProjectLocation location) =|
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue