DocumentRangeFormattingEditProvider
The document formatting provider interface defines the contract between extensions and the formatting-feature.
Properties
Link copied to clipboard
abstract var provideDocumentRangesFormattingEdits: (document: TextDocument, ReadonlyArray<Range>, options: FormattingOptions, token: CancellationToken) -> ProviderResult<ReadonlyArray<TextEdit>>?
Provide formatting edits for multiple ranges in a document.
Functions
Link copied to clipboard
abstract fun provideDocumentRangeFormattingEdits(document: TextDocument, range: Range, options: FormattingOptions, token: CancellationToken): ProviderResult<ReadonlyArray<TextEdit>>
Provide formatting edits for a range in a document.