public class FilePathCompletionParticipant extends CompletionParticipantAdapter
<item path="file:///C:/folder" /> <item path="file:///C:/folder file:///C:/file.txt" /> <item path="/folder" />
<!DOCTYPE parent SYSTEM "file.dtd">
Constructor and Description |
---|
FilePathCompletionParticipant() |
Modifier and Type | Method and Description |
---|---|
void |
onAttributeValue(String value,
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 value,
ICompletionRequest request,
ICompletionResponse response,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Collects and stores systemId completion items within the provided completion
response
response |
onAttributeName, onTagOpen, onXMLContent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResolveCompletionItemParticipant
public void onAttributeValue(String value, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
ICompletionParticipant
response
onAttributeValue
in interface ICompletionParticipant
onAttributeValue
in class CompletionParticipantAdapter
value
- the attribute value before the offset in which completion
was invokedrequest
- the completion requestresponse
- the completion responseException
public void onDTDSystemId(String value, ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
ICompletionParticipant
response
onDTDSystemId
in interface ICompletionParticipant
onDTDSystemId
in class CompletionParticipantAdapter
value
- the systemId value before the offset in which completion
was invokedrequest
- the completion requestresponse
- the completion responseException
Copyright © 2022. All rights reserved.