FoldingRangeProvider

The folding range provider interface defines the contract between extensions and Folding in the editor.

Online Documentation

Properties

Link copied to clipboard
abstract external var onDidChangeFoldingRanges: Event<Void>?

An optional event to signal that the folding ranges from this provider have changed.

Functions

Link copied to clipboard

Returns a list of folding ranges or null and undefined if the provider does not want to participate or was cancelled.