public interface ICompletionParticipant
| Modifier and Type | Method and Description |
|---|---|
default 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 |
onDTDSystemId(String valuePrefix,
ICompletionRequest request,
ICompletionResponse response,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Collects and stores systemId completion items within the provided completion
response
response |
void |
onTagOpen(ICompletionRequest completionRequest,
ICompletionResponse completionResponse,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
void |
onXMLContent(ICompletionRequest request,
ICompletionResponse response,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
void onTagOpen(ICompletionRequest completionRequest, ICompletionResponse completionResponse, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
Exceptionvoid onXMLContent(ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
Exceptionvoid onAttributeName(boolean generateValue,
ICompletionRequest request,
ICompletionResponse response,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
throws Exception
Exceptionvoid onAttributeValue(String valuePrefix, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
responsevaluePrefix - the attribute value before the offset in which completion
was invokedrequest - the completion requestresponse - the completion responseExceptionvoid onDTDSystemId(String valuePrefix, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
responsevaluePrefix - the systemId value before the offset in which completion
was invokedrequest - the completion requestresponse - the completion responseExceptiondefault ICompletionItemResolveParticipant getResolveCompletionItemParticipant(String participantId)
participantId - the participant id to find the completion item resolver
forCopyright © 2023. All rights reserved.