Represents a folding range.
Fields
optionalstartCharacter:Null<Int>
The zero-based character offset from where the folded range starts. If not defined, defaults to the length of the start line.
optionalkind:Null<FoldingRangeKind>
Describes the kind of the folding range such as `comment' or 'region'. The kind is used to categorize folding ranges. See FoldingRangeKind for an enumeration of standardized kinds.
optionalendCharacter:Null<Int>
The zero-based character offset before the folded range ends. If not defined, defaults to the length of the end line.
optionalcollapsedText:Null<String>
The text that the client should show when the specified range is collapsed. If not defined or not supported by the client, a default will be chosen by the client.
Available since
3.17.0
.