Provides information about the context in which an inline completion was requested.
Provides information about the context in which an inline completion was requested.
(selected-completion-info inline-completion-context)
Provides information about the currently selected item in the autocomplete widget if it is visible.
If set, provided inline completions must extend the text of the selected item
and use the same range, otherwise they are not shown as preview.
As an example, if the document text is console.
and the selected item is .log
replacing the .
in the document,
the inline completion must also replace .
and start with .log
, for example .log()
.
Inline completion providers are requested again whenever the selected item changes.
Provides information about the currently selected item in the autocomplete widget if it is visible. If set, provided inline completions must extend the text of the selected item and use the same range, otherwise they are not shown as preview. As an example, if the document text is `console.` and the selected item is `.log` replacing the `.` in the document, the inline completion must also replace `.` and start with `.log`, for example `.log()`. Inline completion providers are requested again whenever the selected item changes.
(trigger-kind inline-completion-context)
Describes how the inline completion was triggered.
Describes how the inline completion was triggered.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |