VS Code Extensions
Uncollapse

Uncollapse

by krzysztofkozyra

Expand all folders or selected folders recursively in the File Explorer with ease.

Downloads

27

Rating

5.0 / 5 (1)

Version

1.0.2

Last updated

Jun 24, 2026

A lightweight Visual Studio Code extension to easily expand collapsed folders in your File Explorer.

Features

  • Expand All Folders: An "Uncollapse" icon right in the File Explorer title bar to expand all workspace folders recursively.
  • Selective Expansion: Right-click any folder and select "Uncollapse Selected Folder" to expand only that specific directory.
  • Depth Control: Choose exactly how many nesting levels to expand (e.g., 1 for just the first level, or type all to expand everything recursively).
  • Performance Optimized: Automatically skips massive dependency and build directories like .git, node_modules, vendor, .cache, .gradle, dist, build, target, out, and .next to keep the UI smooth and fast.
  • Autoscroll: Instantly scrolls back to the top of the File Explorer once the expansion completes.

Usage

  1. Global Uncollapse: Click the "Uncollapse: Expand All" icon in the File Explorer title bar.
  2. Selective Uncollapse: Right-click a folder and click "Uncollapse Selected Folder", then enter the number of levels you wish to expand (e.g., 1 or all).

Related extensions