class

LSProtocol::DocumentRangesFormattingParams

Inherits JSON::Serializable / Reference / Object

The parameters of a DocumentRangesFormattingRequest.

@since 3.18.0 @proposed

Constructors

new(options : FormattingOptions | Nil, ranges : Array(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
ranges

The ranges 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