Class XMLCloseTagInlineCompletionParticipant
java.lang.Object
org.eclipse.lemminx.extensions.core.participants.inlinecompletion.XMLCloseTagInlineCompletionParticipant
- All Implemented Interfaces:
IInlineCompletionParticipant
public class XMLCloseTagInlineCompletionParticipant
extends Object
implements IInlineCompletionParticipant
Inline completion participant that suggests closing tags for open XML
elements.
This participant provides inline completion suggestions when the user is
typing inside an XML element that needs to be closed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonInlineCompletion(IInlineCompletionRequest request, IInlineCompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Called when inline completion is requested.
-
Constructor Details
-
XMLCloseTagInlineCompletionParticipant
public XMLCloseTagInlineCompletionParticipant()
-
-
Method Details
-
onInlineCompletion
public void onInlineCompletion(IInlineCompletionRequest request, IInlineCompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Description copied from interface:IInlineCompletionParticipantCalled when inline completion is requested.- Specified by:
onInlineCompletionin interfaceIInlineCompletionParticipant- Parameters:
request- the inline completion requestresponse- the response to add inline completion items tocancelChecker- the cancel checker
-