Alpha
Optional
filterA text that is used to decide if this inline completion should be
shown. When falsy
the insertText is used.
An inline completion is shown if the text to replace is a prefix of the filter text.
The text to replace the range with. Must be set. Is used both for the preview and the accept operation.
Optional
isWhether generation of insertText
is still ongoing. If your provider supports streaming,
you can set this to true, which will result in the provider's stream()
method being called
with token
which has to be set for incomplete completions.
Optional
lastMost recent streamed token if any.
The source provider information.
Signal emitted when the item gets updated by streaming.
Whether streaming is in progress.
Optional
token
An inline completion item represents a text snippet that is proposed inline to complete text that is being typed.