Skip to content

blockCommentFolding

const blockCommentFolding: FoldingRangeProvider

Defined in: extensions/folding/index.ts:273

Folding range provider that allows folding of block comments. For this to work, you need to befine block comments in the languageMap for the language.

Simply pass this function as one of the arguments when calling readOnlyCodeFolding.