class LSProtocol::DocumentRangesFormattingParams

Overview

The parameters of a DocumentRangesFormattingRequest.

@since 3.18.0 @proposed

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(options : FormattingOptions | Nil, ranges : Array(Range) | Nil, text_document : TextDocumentIdentifier | Nil, work_done_token : ProgressToken | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def options : FormattingOptions #

The format options


[View source]
def ranges : Array(Range) #

The ranges to format


[View source]
def text_document : TextDocumentIdentifier #

The document to format.


[View source]
def work_done_token : ProgressToken | Nil #

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


[View source]