class

LSProtocol::CodeActionParams

Inherits JSON::Serializable / Reference / Object

The parameters of a CodeActionRequest.

Constructors

new(context : CodeActionContext | Nil, range : Range | Nil, text_document : TextDocumentIdentifier | Nil, partial_result_token : ProgressToken | Nil = 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

Context carrying additional information.

Source
partial_result_token

An optional token that a server can use to report partial results (e.g. streaming) to the client.

Source
range

The range for which the command was invoked.

Source
text_document

The document in which the command was invoked.

Source
work_done_token

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

Source