Options that determine when the formatDocumentOnType
method should be invoked by the language client.
When undefined
is returned, document format on type will be disabled.
Handles full document formatting.
Optional
cancelToken: CancellationTokenHandles document formatting while typing. Only formats the current line.
Optional
cancelToken: CancellationTokenHandles partial document formatting. Only parts of the document within the params.range
property are formatted.
Optional
cancelToken: CancellationToken
Language specific service for handling formatting related LSP requests.