Skip to content

DocumentRangeFormattingRegistrationOptions

Registration options for a DocumentRangeFormattingRequest.

documentSelector: DocumentSelector | null

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.

TextDocumentRegistrationOptions.documentSelector


optional rangesSupport?: boolean

Whether the server supports formatting multiple ranges at once.

3.18.0

DocumentRangeFormattingOptions.rangesSupport


optional workDoneProgress?: boolean

DocumentRangeFormattingOptions.workDoneProgress