mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:32:43 +00:00 
			
		
		
		
	 33043f269d
			
		
	
	
		33043f269d
		
	
	
	
	
		
			
			These IPC calls are used in the communication with the language server to fetch semantic information about the tokens in a code document.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			660 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			660 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(GUI::AutocompleteProvider::ProjectLocation location) =|
 | |
|     find_declaration(GUI::AutocompleteProvider::ProjectLocation location) =|
 | |
|     get_parameters_hint(GUI::AutocompleteProvider::ProjectLocation location) =|
 | |
|     get_tokens_info(String filename) =|
 | |
| 
 | |
| }
 |