class LSProtocol::DocumentRangeFormattingParams
- LSProtocol::DocumentRangeFormattingParams
- Reference
- Object
Overview
The parameters of a DocumentRangeFormattingRequest
.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(options : FormattingOptions | Nil, range : Range | Nil, text_document : TextDocumentIdentifier | Nil, work_done_token : ProgressToken | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#options : FormattingOptions
The format options
-
#range : Range
The range to format
- #text_document : TextDocumentIdentifier
- #work_done_token : ProgressToken | Nil
Constructor Detail
def self.new(options : FormattingOptions | Nil, range : Range | Nil, text_document : TextDocumentIdentifier | Nil, work_done_token : ProgressToken | Nil = nil)
#