Liking cljdoc? Tell your friends :D

dots.vscode.inline-completion-item

An inline completion item represents a text snippet that is proposed inline to complete text that is being typed.

An inline completion item represents a text snippet that is proposed inline to complete text that is being typed.
raw docstring

commandcljs

(command inline-completion-item)

An optional {@link Command } that is executed after inserting this completion.

Returns: Command | undefined

An optional {@link Command } that is executed *after* inserting this completion.

**Returns:** `Command | undefined`
sourceraw docstring

filter-textcljs

(filter-text inline-completion-item)

A text that is used to decide if this inline completion should be shown. When falsy the {@link InlineCompletionItem.insertText } is used.

An inline completion is shown if the text to replace is a prefix of the filter text.

Returns: string | undefined

A text that is used to decide if this inline completion should be shown. When `falsy`
the {@link InlineCompletionItem.insertText } is used.

An inline completion is shown if the text to replace is a prefix of the filter text.

**Returns:** `string | undefined`
sourceraw docstring

insert-textcljs

(insert-text inline-completion-item)

The text to replace the range with. Must be set. Is used both for the preview and the accept operation.

Returns: string | SnippetString

The text to replace the range with. Must be set.
Is used both for the preview and the accept operation.

**Returns:** `string | SnippetString`
sourceraw docstring

rangecljs

(range inline-completion-item)

The range to replace. Must begin and end on the same line.

Prefer replacements over insertions to provide a better experience when the user deletes typed text.

Returns: Range | undefined

The range to replace.
Must begin and end on the same line.

Prefer replacements over insertions to provide a better experience when the user deletes typed text.

**Returns:** `Range | undefined`
sourceraw docstring

set-command!cljs

(set-command! inline-completion-item value)

An optional {@link Command } that is executed after inserting this completion.

An optional {@link Command } that is executed *after* inserting this completion.
sourceraw docstring

set-filter-text!cljs

(set-filter-text! inline-completion-item value)

A text that is used to decide if this inline completion should be shown. When falsy the {@link InlineCompletionItem.insertText } is used.

An inline completion is shown if the text to replace is a prefix of the filter text.

A text that is used to decide if this inline completion should be shown. When `falsy`
the {@link InlineCompletionItem.insertText } is used.

An inline completion is shown if the text to replace is a prefix of the filter text.
sourceraw docstring

set-insert-text!cljs

(set-insert-text! inline-completion-item value)

The text to replace the range with. Must be set. Is used both for the preview and the accept operation.

The text to replace the range with. Must be set.
Is used both for the preview and the accept operation.
sourceraw docstring

set-range!cljs

(set-range! inline-completion-item value)

The range to replace. Must begin and end on the same line.

Prefer replacements over insertions to provide a better experience when the user deletes typed text.

The range to replace.
Must begin and end on the same line.

Prefer replacements over insertions to provide a better experience when the user deletes typed text.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close