File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -3552,6 +3552,7 @@ declare module 'vscode' {
3552
3552
* [Region](#FoldingRangeKind.Region). The kind is used to categorize folding ranges and used by commands
3553
3553
* like 'Fold all comments'. See
3554
3554
* [FoldingRangeKind](#FoldingRangeKind) for an enumeration of all kinds.
3555
+ * If not set, the range is originated from a syntax element.
3555
3556
*/
3556
3557
kind ?: FoldingRangeKind ;
3557
3558
@@ -3566,7 +3567,10 @@ declare module 'vscode' {
3566
3567
}
3567
3568
3568
3569
/**
3569
- * An enumeration of all folding range kinds. The kind is used to categorize folding ranges.
3570
+ * An enumeration of specific folding range kinds. The kind is an optional field of a [FoldingRange](#FoldingRange)
3571
+ * and is used to distinguish specific folding ranges such as ranges originated from comments. The kind is used by commands like
3572
+ * `Fold all comments` or `Fold all regions`.
3573
+ * If the kind is not set on the range, the range originated from a syntax element other than comments, imports or region markers.
3570
3574
*/
3571
3575
export enum FoldingRangeKind {
3572
3576
/**
@@ -3578,7 +3582,7 @@ declare module 'vscode' {
3578
3582
*/
3579
3583
Imports = 2 ,
3580
3584
/**
3581
- * Kind for folding range representing regions (for example a folding range marked by `#region` and `#endregion`) .
3585
+ * Kind for folding range representing regions originating from folding markers like `#region` and `#endregion`.
3582
3586
*/
3583
3587
Region = 3
3584
3588
}
You can’t perform that action at this time.
0 commit comments