struct

LSP::Data::TextDocumentClientCapabilities::FoldingRange

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
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 (FoldingRangeProviderOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions) return value for the corresponding server capability as well.

Source
dynamic_registration=(dynamic_registration : Bool)

Whether implementation supports dynamic registration for folding range providers. If this is set to true the client supports the new (FoldingRangeProviderOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions) return value for the corresponding server capability as well.

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
line_folding_only=(line_folding_only : Bool)

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
range_limit=(range_limit : Int64)

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