struct LSP::Message::RangeFormatting::Params
- LSP::Message::RangeFormatting::Params
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
lsp/message.crConstructors
- .new(pull : JSON::PullParser)
- .new(text_document : LSP::Data::TextDocumentIdentifier = Data::TextDocumentIdentifier.new, range : LSP::Data::Range = Data::Range.new, options : LSP::Data::FormattingOptions = Data::FormattingOptions.new)
Instance Method Summary
-
#options : Data::FormattingOptions
The format options.
-
#options=(options : Data::FormattingOptions)
The format options.
-
#range : Data::Range
The range to format.
-
#range=(range : Data::Range)
The range to format.
- #text_document : Data::TextDocumentIdentifier
- #text_document=(text_document : Data::TextDocumentIdentifier)
Constructor Detail
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)
#