class

LSProtocol::InlineCompletionParams

Inherits JSON::Serializable / Reference / Object

A parameter literal used in inline completion requests.

@since 3.18.0 @proposed

Constructors

new(context : InlineCompletionContext | Nil, position : Position | Nil, text_document : TextDocumentIdentifier | Nil, work_done_token : ProgressToken | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

context

Additional information about the context in which inline completions were requested.

Source
position

The position inside the text document.

Source
text_document

The text document.

Source
work_done_token

An optional token that a server can use to report work done progress.

Source