struct LSP::TextDocumentClientCapabilities::FoldingRangeClientCapabilities

Included Modules

Defined in:

base/capabilities/text_document_client_capabilites.cr

Constructors

Instance Method Summary

Macros inherited from module JSON::Serializable

json_discriminator(field, mapping, *, default = nil) json_discriminator

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(**args) #

[View source]

Instance Method Detail

def dynamic_registration : Bool | Nil #

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.


[View source]
def dynamic_registration=(dynamic_registration : Bool | Nil) #

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.


[View source]
def line_folding_only : Bool | Nil #

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.


[View source]
def line_folding_only=(line_folding_only : Bool | Nil) #

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.


[View source]
def range_limit : Int32 | Nil #

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.


[View source]
def range_limit=(range_limit : Int32 | Nil) #

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.


[View source]