Struct languageserver_types::FoldingRangeCapability[][src]

pub struct FoldingRangeCapability {
    pub dynamic_registration: Option<bool>,
    pub range_limit: Option<u64>,
    pub line_folding_only: Option<bool>,
}

Fields

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.

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.

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.

Trait Implementations

impl Debug for FoldingRangeCapability
[src]

Formats the value using the given formatter. Read more

impl Eq for FoldingRangeCapability
[src]

impl PartialEq for FoldingRangeCapability
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for FoldingRangeCapability
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations