class

LSProtocol::FoldingRangeClientCapabilities

Inherits JSON::Serializable / Reference / Object

Constructors

new(pull : JSON::PullParser)
Source
new(dynamic_registration : Bool | Nil = nil, folding_range : ClientFoldingRangeOptions | Nil = nil, folding_range_kind : ClientFoldingRangeKindOptions | Nil = nil, line_folding_only : Bool | Nil = nil, range_limit : UInt32 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

dynamic_registration

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.

Source
folding_range

Specific options for the folding range.

@since 3.17.0

Source
folding_range_kind

Specific options for the folding range kind.

@since 3.17.0

Source
line_folding_only

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.

Source
range_limit

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.

Source