public class XSICompletionParticipant extends CompletionParticipantAdapter
Constructor and Description |
---|
XSICompletionParticipant() |
Modifier and Type | Method and Description |
---|---|
void |
onAttributeName(boolean generateValue,
ICompletionRequest request,
ICompletionResponse response,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
void |
onAttributeValue(String valuePrefix,
ICompletionRequest request,
ICompletionResponse response,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Collects and stores attribute value completion items within the provided
completion
response
response |
onDTDSystemId, onTagOpen, onXMLContent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResolveCompletionItemParticipant
public void onAttributeName(boolean generateValue, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
onAttributeName
in interface ICompletionParticipant
onAttributeName
in class CompletionParticipantAdapter
Exception
public void onAttributeValue(String valuePrefix, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
ICompletionParticipant
response
onAttributeValue
in interface ICompletionParticipant
onAttributeValue
in class CompletionParticipantAdapter
valuePrefix
- the attribute value before the offset in which completion
was invokedrequest
- the completion requestresponse
- the completion responseException
Copyright © 2022. All rights reserved.