public interface ICompletionItemResolverRequest extends ISharedSettingsRequest, IComponentProvider
Modifier and Type | Method and Description |
---|---|
Integer |
getCompletionOffset()
Returns the completion offset coming from the completion item data and null
otherwise.
|
String |
getDataProperty(String fieldName)
Returns the value of a field from the supplementary data attached to the
request as a string.
|
Boolean |
getDataPropertyAsBoolean(String participantId)
Returns the value of a field from the supplementary data attached to the
request as an boolean, or null if the field is not an boolean.
|
Integer |
getDataPropertyAsInt(String fieldName)
Returns the value of a field from the supplementary data attached to the
request as an integer, or null if the field is not an integer.
|
DOMDocument |
getDocument()
Returns the DOM document.
|
String |
getParticipantId()
Returns the id of the participant that can resolve the request.
|
org.eclipse.lsp4j.CompletionItem |
getUnresolved()
Returns the unresolved completion item.
|
boolean |
isResolveAdditionalTextEditsSupported()
Returns true if the editor supports delayed resolution of additionalTextEdits
and
false otherwise.
|
boolean |
isResolveDocumentationSupported()
Returns true if the editor supports delayed resolution of documentation and
false otherwise.
|
canSupportMarkupKind, getSharedSettings
getComponent
org.eclipse.lsp4j.CompletionItem getUnresolved()
String getParticipantId()
String getDataProperty(String fieldName)
fieldName
- the name of the field to retrieve the data fromInteger getDataPropertyAsInt(String fieldName)
fieldName
- the name of the field to retrieve the data fromBoolean getDataPropertyAsBoolean(String participantId)
fieldName
- the name of the field to retrieve the data fromDOMDocument getDocument()
boolean isResolveDocumentationSupported()
boolean isResolveAdditionalTextEditsSupported()
Integer getCompletionOffset()
Copyright © 2022. All rights reserved.