formatting_async


Description:

public async TextEdit[]? formatting_async (Uri uri, FormattingOptions options) throws Error

The document formatting request is sent from the client to the server to format a whole document.

Parameters:

uri

the URI of the document to format

options

the formatting options

Returns:

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