Class FoldingRangeCapabilities


  • public class FoldingRangeCapabilities
    extends DynamicRegistrationCapabilities
    Capabilities specific to `textDocument/foldingRange` requests.

    Since 3.10.0

    • Constructor Detail

      • FoldingRangeCapabilities

        public FoldingRangeCapabilities()
    • Method Detail

      • getRangeLimit

        public java.lang.Integer getRangeLimit()
        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.
      • setRangeLimit

        public void setRangeLimit​(java.lang.Integer rangeLimit)
        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.
      • getLineFoldingOnly

        public java.lang.Boolean getLineFoldingOnly()
        If set, the client signals that it only supports folding complete lines. If set, client will ignore specified FoldingRange.startCharacter and FoldingRange.endCharacter properties.
      • setLineFoldingOnly

        public void setLineFoldingOnly​(java.lang.Boolean lineFoldingOnly)
        If set, the client signals that it only supports folding complete lines. If set, client will ignore specified FoldingRange.startCharacter and FoldingRange.endCharacter properties.