Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Auto-Collapse FoldersNew to Visual Studio Code? Get it now.
Auto-Collapse Folders

Auto-Collapse Folders

Sean Gilbertson

|
5,210 installs
| (4) | Free
Automatically collapse root-level folders other than the one holding the current file.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

auto-collapse-folders

Features

This extension will automatically collapse all folders in the explorer when you switch files while keeping the current file's folder expanded.

Demo

demo

Requirements

No additional requirements.

Release Notes

1.0.0

Initial release

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft