mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:42:45 +00:00 
			
		
		
		
	 9e73b0b696
			
		
	
	
		9e73b0b696
		
	
	
	
	
		
			
			Previously, the client would decide when to ask the server for completions, and it would only do so for identifiers that had spans (determined via the highlighter!). Swap this around and make the server decide if it wants to complete something. This commit also adds a CompletionKind (which only has one value: Identifier), to work with other kinds of completions as well.
		
			
				
	
	
		
			4 lines
		
	
	
	
		
			120 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
	
		
			120 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| endpoint LanguageClient = 8002
 | |
| {
 | |
|     AutoCompleteSuggestions(Vector<HackStudio::AutoCompleteResponse> suggestions) =|
 | |
| }
 |