OnTypeFormattingEditProvider
The document formatting provider interface defines the contract between extensions and the formatting-feature.
Functions
Link copied to clipboard
abstract fun provideOnTypeFormattingEdits(document: TextDocument, position: Position, ch: String, options: FormattingOptions, token: CancellationToken): ProviderResult<ReadonlyArray<TextEdit>>
Provide formatting edits after a character has been typed.