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