(entries completion-info)
Returns: CompletionEntry[]
**Returns:** `CompletionEntry[]`
(flags completion-info)
For performance telemetry.
Returns: CompletionInfoFlags | undefined
For performance telemetry. **Returns:** `CompletionInfoFlags | undefined`
(global-completion? completion-info)
Not true for all global completions. This will be true if the enclosing scope matches a few syntax kinds. See isSnippetScope
.
Returns: boolean
Not true for all global completions. This will be true if the enclosing scope matches a few syntax kinds. See `isSnippetScope`. **Returns:** `boolean`
(incomplete completion-info)
Indicates to client to continue requesting completions on subsequent keystrokes.
Returns: true | undefined
Indicates to client to continue requesting completions on subsequent keystrokes. **Returns:** `true | undefined`
(member-completion? completion-info)
Returns: boolean
**Returns:** `boolean`
(new-identifier-location? completion-info)
true when the current location also allows for a new identifier
Returns: boolean
true when the current location also allows for a new identifier **Returns:** `boolean`
(optional-replacement-span completion-info)
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.
Returns: TextSpan | undefined
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. **Returns:** `TextSpan | undefined`
(set-flags! completion-info value)
For performance telemetry.
For performance telemetry.
(set-is-global-completion! completion-info value)
Not true for all global completions. This will be true if the enclosing scope matches a few syntax kinds. See isSnippetScope
.
Not true for all global completions. This will be true if the enclosing scope matches a few syntax kinds. See `isSnippetScope`.
(set-is-incomplete! completion-info value)
Indicates to client to continue requesting completions on subsequent keystrokes.
Indicates to client to continue requesting completions on subsequent keystrokes.
(set-is-new-identifier-location! completion-info value)
true when the current location also allows for a new identifier
true when the current location also allows for a new identifier
(set-optional-replacement-span! completion-info value)
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.
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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close