class

LSProtocol::DocumentRangeFormattingParams

Inherits JSON::Serializable / Reference / Object

The parameters of a DocumentRangeFormattingRequest.

Constructors

new(options : FormattingOptions | Nil, range : Range | 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

options

The format options

Source
range

The range to format

Source
text_document

The document to format.

Source
work_done_token

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

Source