Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CompletionInfo

Hierarchy

  • CompletionInfo

Index

Properties

entries

entries: CompletionEntry[]

isGlobalCompletion

isGlobalCompletion: boolean

Not true for all global completions. This will be true if the enclosing scope matches a few syntax kinds. See isSnippetScope.

Optional isIncomplete

isIncomplete: true

Indicates to client to continue requesting completions on subsequent keystrokes.

isMemberCompletion

isMemberCompletion: boolean

isNewIdentifierLocation

isNewIdentifierLocation: boolean

true when the current location also allows for a new identifier

Optional optionalReplacementSpan

optionalReplacementSpan: TextSpan

In the absence of CompletionEntry["replacementSpan"], the editor may choose whether to use this span or its default one. If CompletionEntry["replacementSpan"]` is defined, that span must be used to commit that completion entry.

Generated using TypeDoc