class LSProtocol::FoldingRangeClientCapabilities
- LSProtocol::FoldingRangeClientCapabilities
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
-
#dynamic_registration : Bool | Nil
Whether implementation supports dynamic registration for folding range providers.
-
#folding_range : ClientFoldingRangeOptions | Nil
Specific options for the folding range.
-
#folding_range_kind : ClientFoldingRangeKindOptions | Nil
Specific options for the folding range kind.
-
#line_folding_only : Bool | Nil
If set, the client signals that it only supports folding complete lines.
-
#range_limit : UInt32 | Nil
The maximum number of folding ranges that the client prefers to receive per document.
Constructor Detail
Instance Method Detail
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.
Specific options for the folding range.
@since 3.17.0
Specific options for the folding range kind.
@since 3.17.0
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.
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.