Class FoldingRangeClientCapabilities
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.FoldingRangeClientCapabilities
-
Method Summary
Modifier and TypeMethodDescriptioncreate()booleanWhether implementation supports dynamic registration for folding range providers.If set, the client signals that it only supports folding complete lines.The maximum number of folding ranges that the client prefers to receive per document.inthashCode()setDynamicRegistration(Boolean dynamicRegistration) setLineFoldingOnly(Boolean lineFoldingOnly) setRangeLimit(Integer rangeLimit)
-
Method Details
-
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
-
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
-
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
-
equals
-
hashCode
public int hashCode() -
create
-