Class FoldingRangeClientCapabilities

java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.FoldingRangeClientCapabilities

public class FoldingRangeClientCapabilities extends JSONBase
  • Method Details

    • getDynamicRegistration

      public Boolean getDynamicRegistration()
      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.
    • setDynamicRegistration

      public FoldingRangeClientCapabilities setDynamicRegistration(Boolean dynamicRegistration)
    • getRangeLimit

      public 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 FoldingRangeClientCapabilities setRangeLimit(Integer rangeLimit)
    • getLineFoldingOnly

      public Boolean getLineFoldingOnly()
      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.
    • setLineFoldingOnly

      public FoldingRangeClientCapabilities setLineFoldingOnly(Boolean lineFoldingOnly)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static FoldingRangeClientCapabilities create()