mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:22:45 +00:00 
			
		
		
		
	 59218007a3
			
		
	
	
		59218007a3
		
	
	
	
	
		
			
			This patch removes the IPC endpoint numbers that needed to be specified in the IPC files. Since the string hash is a (hopefully) collision free number that depends on the name of the endpoint, we now use that instead. :^)
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			574 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			574 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| endpoint LanguageServer
 | |
| {
 | |
|     Greet(String project_root) => ()
 | |
| 
 | |
|     FileOpened(String file_name, IPC::File file) =|
 | |
|     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(GUI::AutocompleteProvider::ProjectLocation location) =|
 | |
|     SetAutoCompleteMode(String mode) =|
 | |
|     FindDeclaration(GUI::AutocompleteProvider::ProjectLocation location) =|
 | |
| }
 |