struct LSP::Message::Formatting::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, 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 text_document : Data::TextDocumentIdentifier #

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

[View source]