CompletionInfo

sealed external interface CompletionInfo(source)

Properties

Link copied to clipboard
abstract var defaultCommitCharacters: <Error class: unknown class><String>?

Default commit characters for the completion entries.

Link copied to clipboard
abstract var entries: <Error class: unknown class><CompletionEntry>
Link copied to clipboard
abstract var flags: CompletionInfoFlags?

For performance telemetry.

Link copied to clipboard

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

Link copied to clipboard
abstract var isIncomplete: Boolean?

Indicates to client to continue requesting completions on subsequent keystrokes.

Link copied to clipboard
Link copied to clipboard

true when the current location also allows for a new identifier

Link copied to clipboard

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.