Code Block Folder

March 14, 2026 ยท View on GitHub

GitHub package.json version GitHub License Visual Studio Marketplace Downloads Open VSX Downloads Ask DeepWiki

Introduction

Enable customized code folding with comments to make it easier to read codes. This extension is available in VSCode, Cursor, Windsurf, Trae, CodeBuddy and Qoder.

Supported Languages

c, c++, c#, java, kotlin, dart, swift, javascript, typescript, go, python, ruby, shell, php, perl, rust, lua, sql, odin, zig, d, v, scala, groovy, f#, nim, vue, jsx, tsx, svelte, sass, less, stylus

Examples

  1. Change a current code block to foldable one.add_folding.gif

  2. Write a code segment inside a foldable code block.write_block.gif

  3. Line hint and quick jumping.quick_jump.gif

  4. Quick folding and unfolding.quick_fold.gif

  5. Switch between single-line marker and paired ones.switch_mode.gif

Extension Settings

  • code-block-folder.title-text-color: Text color of foldable block titles.
  • code-block-folder.title-background-color: Background color of foldable block titles.
  • code-block-folder.ending-border-color: Border Color of foldable block ending markers.