class LSProtocol::DocumentRangeFormattingRegistrationOptions

Overview

Registration options for a DocumentRangeFormattingRequest.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(document_selector : DocumentSelector | Nil, ranges_support : Bool | Nil = nil, work_done_progress : Bool | Nil = nil) #

[View source]

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.


[View source]
def ranges_support : Bool | Nil #

Whether the server supports formatting multiple ranges at once.

@since 3.18.0 @proposed


[View source]
def work_done_progress : Bool | Nil #

[View source]