class

LSProtocol::DocumentRangeFormattingRegistrationOptions

Inherits JSON::Serializable / Reference / Object

Registration options for a DocumentRangeFormattingRequest.

Constructors

new(pull : JSON::PullParser)
Source
new(document_selector : DocumentSelector | Nil, ranges_support : Bool | Nil = nil, work_done_progress : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

document_selector

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.

Source
ranges_support

Whether the server supports formatting multiple ranges at once.

@since 3.18.0 @proposed

Source
work_done_progress
Source