mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +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
Notes:
sideshowbarker
2024-07-18 21:53:01 +09:00
Author: https://github.com/itamar8910
Commit: 4b483071fb
Pull-request: https://github.com/SerenityOS/serenity/pull/5543
Issue: https://github.com/SerenityOS/serenity/issues/5478
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