class LSProtocol::DocumentFormattingParams

Overview

The parameters of a DocumentFormattingRequest.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(options : FormattingOptions | 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 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]