struct LSP::Message::RangeFormatting::Params

Included Modules

Defined in:

lsp/message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(text_document : LSP::Data::TextDocumentIdentifier = Data::TextDocumentIdentifier.new, range : LSP::Data::Range = Data::Range.new, options : LSP::Data::FormattingOptions = Data::FormattingOptions.new) #

[View source]

Instance Method Detail

def options : Data::FormattingOptions #

The format options.


[View source]
def options=(options : Data::FormattingOptions) #

The format options.


[View source]
def range : Data::Range #

The range to format.


[View source]
def range=(range : Data::Range) #

The range to format.


[View source]
def text_document : Data::TextDocumentIdentifier #

[View source]
def text_document=(text_document : Data::TextDocumentIdentifier) #

[View source]