View source
typedef FoldingRangeClientCapabilities
package languageServerProtocol.protocol
import languageServerProtocol.protocol.FoldingRange
Fields
optionalrangeLimit:Null<Int>
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.
optionallineFoldingOnly:Null<Bool>
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.
optionalfoldingRangeKind:Null<{valueSet:Null<Array<FoldingRangeKind>>}>
Specific options for the folding range kind.
Available since
3.17.0
.optionalfoldingRange:Null<{collapsedText:Null<Bool>}>
Specific options for the folding range.
Available since
3.17.0
.optionaldynamicRegistration:Null<Bool>
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.