3.3 Block Folding

Block folding allows you to collapse a block of code in a Texinfo document, so that you can navigate through the remaining part of the document more easily.

Three types of code blocks can be recognized by vscode-texinfo:

While editing a Texinfo document, you can collapse or expand a code block either by clicking the folding icon to the left of the first line of the block, or by invoking a corresponding command. See the Visual Studio Code User Guide for details.

Note: Due to performance issues, the block hierarchy of a Texinfo document is re-calculated only when total line count changes, or when the document is saved.