FoldingRangeProvider
The folding range provider interface defines the contract between extensions and Folding in the editor.
Properties
Functions
Link copied to clipboard
abstract fun provideFoldingRanges( document: TextDocument, context: FoldingContext, token: CancellationToken): ProviderResult<ReadonlyArray<FoldingRange>>
Returns a list of folding ranges or null and undefined if the provider does not want to participate or was cancelled.