range_formatting_async


Description:

public async TextEdit[]? range_formatting_async (Uri uri, 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:

uri

the URI of 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