Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Hide Folders and FilesNew to Visual Studio Code? Get it now.
Hide Folders and Files

Hide Folders and Files

tylim88

|
3,089 installs
| (1) | Free
A simple shortcut to hide folders or files, both globally and locally.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Hide Folders And Files

Hide Folders and Files allows you to quickly hide and unhide folders or files globally or locally using a simple shortcut.

To hide folder or file, right-click a folder or file and select Hide Folder or Hide File.

Hide folder/file Everywhere: Add the selected folder/file to User Settings.

Hide folder/file Workspace: Add the selected folder/file to Workspace Settings.

Select "Hide Folder" or "Hide File" from the right-click menu to hide a folder or file

You can choose to hide your folder recursively or not.

You can choose to hide your folder recursively or not.

To unhide folder or file, right click anywhere in the explorer and select Unhide Folder Or File.

Select "Unhide Folder Or File" from the right-click menu to unhide a folder or file

Unhide Folder Or File open the workspace settings for you to remove the hidden folder or file glob pattern if you want to unhide a previously hidden folder or file.

remove hidden folder or file glob pattern from workspace settings

Tested on Window and Mac. If you are Linux user and the extension is not working properly, please open an issue on Github.

Support VS Code Insider.

Icon is provided by 8Icon.

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