public class CompletionParticipantAdapter extends Object implements ICompletionParticipant
Constructor and Description |
---|
CompletionParticipantAdapter() |
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 |
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) |
public void onTagOpen(ICompletionRequest completionRequest, ICompletionResponse completionResponse, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
onTagOpen
in interface ICompletionParticipant
Exception
public void onXMLContent(ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
onXMLContent
in interface ICompletionParticipant
Exception
public void onAttributeName(boolean generateValue, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
onAttributeName
in interface ICompletionParticipant
Exception
public void onAttributeValue(String valuePrefix, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
ICompletionParticipant
response
onAttributeValue
in interface ICompletionParticipant
valuePrefix
- the attribute value before the offset in which completion was invokedrequest
- the completion requestresponse
- the completion responseException
public void onDTDSystemId(String valuePrefix, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
ICompletionParticipant
response
onDTDSystemId
in interface ICompletionParticipant
valuePrefix
- the systemId value before the offset in which completion was invokedrequest
- the completion requestresponse
- the completion responseException
Copyright © 2022. All rights reserved.