Alpha
Optional
Alpha
errorThis field is marked when an error occurs during a stream or fetch request.
Optional
Alpha
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.
Alpha
insertThe text to replace the range with. Must be set. Is used both for the preview and the accept operation.
Optional
Alpha
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
Alpha
tokenToken passed to identify the completion when streaming updates.
An inline completion item represents a text snippet that is proposed inline to complete text that is being typed.