Class XSICompletionParticipant
java.lang.Object
org.eclipse.lemminx.services.extensions.completion.CompletionParticipantAdapter
org.eclipse.lemminx.extensions.xsi.participants.XSICompletionParticipant
- All Implemented Interfaces:
ICompletionParticipant
XSICompletionParticipant
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAttributeName(boolean generateValue, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) voidonAttributeValue(String valuePrefix, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Collects and stores attribute value completion items within the provided completion responseresponseMethods inherited from class org.eclipse.lemminx.services.extensions.completion.CompletionParticipantAdapter
onDTDSystemId, onTagOpen, onXMLContentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.lemminx.services.extensions.completion.ICompletionParticipant
getResolveCompletionItemParticipant
-
Constructor Details
-
XSICompletionParticipant
public XSICompletionParticipant()
-
-
Method Details
-
onAttributeName
public void onAttributeName(boolean generateValue, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception - Specified by:
onAttributeNamein interfaceICompletionParticipant- Overrides:
onAttributeNamein classCompletionParticipantAdapter- Throws:
Exception
-
onAttributeValue
public void onAttributeValue(String valuePrefix, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception Description copied from interface:ICompletionParticipantCollects and stores attribute value completion items within the provided completion responseresponse- Specified by:
onAttributeValuein interfaceICompletionParticipant- Overrides:
onAttributeValuein classCompletionParticipantAdapter- Parameters:
valuePrefix- the attribute value before the offset in which completion was invokedrequest- the completion requestresponse- the completion response- Throws:
Exception
-