class LSProtocol::DocumentRangeFormattingRegistrationOptions
- LSProtocol::DocumentRangeFormattingRegistrationOptions
- Reference
- Object
Overview
Registration options for a DocumentRangeFormattingRequest
.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(document_selector : DocumentSelector | Nil, ranges_support : Bool | Nil = nil, work_done_progress : Bool | Nil = nil)
Instance Method Summary
-
#document_selector : DocumentSelector | Nil
A document selector to identify the scope of the registration.
-
#ranges_support : Bool | Nil
Whether the server supports formatting multiple ranges at once.
- #work_done_progress : Bool | Nil
Constructor Detail
def self.new(document_selector : DocumentSelector | Nil, ranges_support : Bool | Nil = nil, work_done_progress : Bool | Nil = nil)
#
Instance Method Detail
def document_selector : DocumentSelector | Nil
#
A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.
def ranges_support : Bool | Nil
#
Whether the server supports formatting multiple ranges at once.
@since 3.18.0 @proposed