public class ContentModelCompletionParticipant extends CompletionParticipantAdapter
| Constructor and Description |
|---|
ContentModelCompletionParticipant() |
| Modifier and Type | Method and Description |
|---|---|
ICompletionItemResolveParticipant |
getResolveCompletionItemParticipant(String participantId)
Returns the completion item resolver that corresponds to the given
participant id or null otherwise.
|
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 |
void |
onTagOpen(ICompletionRequest request,
ICompletionResponse response,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
void |
onXMLContent(ICompletionRequest request,
ICompletionResponse response,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
onDTDSystemIdpublic void onTagOpen(ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
onTagOpen in interface ICompletionParticipantonTagOpen in class CompletionParticipantAdapterExceptionpublic void onAttributeName(boolean generateValue,
ICompletionRequest request,
ICompletionResponse response,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
throws Exception
onAttributeName in interface ICompletionParticipantonAttributeName in class CompletionParticipantAdapterExceptionpublic void onAttributeValue(String valuePrefix, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
ICompletionParticipantresponseonAttributeValue in interface ICompletionParticipantonAttributeValue in class CompletionParticipantAdaptervaluePrefix - the attribute value before the offset in which completion
was invokedrequest - the completion requestresponse - the completion responseExceptionpublic void onXMLContent(ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
onXMLContent in interface ICompletionParticipantonXMLContent in class CompletionParticipantAdapterExceptionpublic ICompletionItemResolveParticipant getResolveCompletionItemParticipant(String participantId)
ICompletionParticipantparticipantId - the participant id to find the completion item resolver
forCopyright © 2022. All rights reserved.