Interface FoldingRangeClientCapabilities

interface FoldingRangeClientCapabilities {
    dynamicRegistration?: boolean;
    foldingRange?: ClientFoldingRangeOptions;
    foldingRangeKind?: ClientFoldingRangeKindOptions;
    lineFoldingOnly?: boolean;
    rangeLimit?: number;
}

Properties

dynamicRegistration?: boolean

Whether implementation supports dynamic registration for folding range providers. If this is set to true the client supports the new FoldingRangeRegistrationOptions return value for the corresponding server capability as well.

foldingRange?: ClientFoldingRangeOptions

Specific options for the folding range.

3.17.0

foldingRangeKind?: ClientFoldingRangeKindOptions

Specific options for the folding range kind.

3.17.0

lineFoldingOnly?: boolean

If set, the client signals that it only supports folding complete lines. If set, client will ignore specified startCharacter and endCharacter properties in a FoldingRange.

rangeLimit?: number

The maximum number of folding ranges that the client prefers to receive per document. The value serves as a hint, servers are free to follow the limit.