Skip to content

CompletionApplicationRequest

CompletionApplicationRequest = CompletionApplicationDocument & object

The document an accepted item is applied against.

document and offset are what the request went out with, and the item’s ranges are positions in that text. caretOffset and caretAffinity are where the caret has reached since — rarely the same position, because the widget stays up while the user keeps typing.

readonly caretAffinity: SelectionAffinity

readonly caretOffset: number