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.
OptionalcancelToken: Cancellation.CancellationTokenHandles document formatting while typing. Only formats the current line.
OptionalcancelToken: Cancellation.CancellationTokenHandles partial document formatting. Only parts of the document within the params.range property are formatted.
OptionalcancelToken: Cancellation.CancellationToken
Language specific service for handling formatting related LSP requests.