LSProtocol::CompletionParams
Inherits JSON::Serializable / Reference / Object
Completion parameters
Constructors
new(position : Position | Nil, text_document : TextDocumentIdentifier | Nil, context : CompletionContext | Nil = nil, partial_result_token : ProgressToken | Nil = nil, work_done_token : ProgressToken | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
context
The completion context. This is only available it the client specifies
to send this using the client capability textDocument.completion.contextSupport === true
partial_result_token
An optional token that a server can use to report partial results (e.g. streaming) to the client.