interface FoldingRange {
    end: number;
    kind?: FoldingRangeKind;
    start: number;
}

Properties

Properties

end: number

The one-based end line of the range to fold. The folded area ends with the line's last character.

Describes the Kind of the folding range such as Comment or Region. The kind is used to categorize folding ranges and used by commands like 'Fold all comments'. See FoldingRangeKind for an enumeration of standardized kinds.

start: number

The one-based start line of the range to fold. The folded area starts after the line's last character.