CompletionInfo

sealed external interface CompletionInfo(source)

Properties

Link copied to clipboard
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.