foldingRange
¶
Capabilities relating to the textDocument/foldingRange request.
- textDocument.foldingRange.dynamicRegistration¶
Client Supported Since Emacs (eglot) - Neovim - Visual Studio Code 1.65.2 Whether implementation supports dynamic registration for folding range providers. If this is set to
true
the client supports the newFoldingRangeRegistrationOptions
return value for the corresponding server capability as well.
- textDocument.foldingRange.rangeLimit¶
Client 5000
Emacs (eglot) - Neovim - Visual Studio Code 1.65.2 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.
- textDocument.foldingRange.lineFoldingOnly¶
Client Supported Since Emacs (eglot) - Neovim - Visual Studio Code 1.65.2 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.
foldingRange
¶
- since v3.17.0 textDocument.foldingRange.foldingRange.collapsedText¶
Client Supported Since Emacs (eglot) - Neovim - Visual Studio Code - If set, the client signals that it supports setting collapsedText on folding ranges to display custom labels instead of the default text.
foldingRangeKind
¶
- textDocument.foldingRange.foldingRangeKind.valueSet¶
Client comment
imports
region
Emacs (eglot) - - - Neovim - - - Visual Studio Code - - - The folding range kind values the client supports. When this property exists the client also guarantees that it will handle values outside its set gracefully and falls back to a default value when unknown.