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.
(command inline-completion-item)
An optional {@link Command } that is executed after inserting this completion.
An optional {@link Command } that is executed *after* inserting this completion.
(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.
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.
(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.
The text to replace the range with. Must be set. Is used both for the preview and the accept operation.
(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.
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.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close