range_formatting_async


Description:

protected virtual async TextEdit[]? range_formatting_async (Client client, TextDocumentIdentifier text_document, Range range, FormattingOptions options) throws Error

The document range formatting request is sent from the client to the server to format a given range in a document.

Parameters:

text_document

the document to format

range

the range to format

options

the formatting options

Returns:

a list of text edits, or null if no formatting is needed