Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Ignore FoldNew to Visual Studio Code? Get it now.
Ignore Fold

Ignore Fold

Hyoung

| (0) | Free
Group Git-ignored files and organize project shortcuts in your own virtual folders.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ignore Fold

Project Files is a file tree in the VS Code Explorer sidebar. It puts Git-ignored files and folders into a single Ignored entry at the top of the project tree. The entry starts collapsed, and opening a file from it opens the original file at its existing path.

Use

  1. Open a Git project in desktop VS Code with Git available on your PATH.
  2. Open Explorer and expand Project Files. In a multi-root workspace, expand one of the workspace folders.
  3. Expand Ignored to browse files and folders at their original relative paths. Each level lists folders first and files second. Collapse it to focus on the rest of the project.
  4. To use Project Files as your main view, right-click the Explorer heading and hide Folders.

Git determines which untracked paths are ignored, including through nested .gitignore files. Tracked files stay in the project tree. The Refresh button rescans the workspace.

Explorer layouts and copying

The default Combined layout shows everything in Project Files. Set projectIgnoreExplorer.layout to split for separate Ignored and Virtual Folders panels alongside the native workspace tree. If you previously hid Folders, re-enable it from the Explorer heading menu. Turn on explorer.excludeGitIgnore to keep Git-ignored items out of the native tree.

Use native Copy and Paste in the workspace tree. In Ignore Fold views, right-click a file or directory for Copy to Folder…, Copy Path, or Copy Relative Path. Copy to Folder… copies the selected resources to a directory you choose and gives copies an available name when there is a conflict.

Right-click a directory in an Ignore Fold view to create a file or folder inside it. Use Rename File or Folder… to rename a resource on disk, and Reveal in Explorer to locate it in the built-in tree. In Project Files, the view menu also offers New File… and New Folder… at the workspace root when a single folder is open.

Virtual folders

Click New Virtual Folder in the Project Files or Virtual Folders toolbar and name it, for example Paper. From Project Files or the built-in Folders view, right-click one or more files or directories and choose Add to Virtual Folder…. You can also create the folder while adding an item.

A virtual folder can contain shortcuts from anywhere in the open workspace. Expanding a linked directory shows its contents, and clicking a linked file opens the original. Right-click shortcuts and use Move to Virtual Folder… to move them to an existing or a new virtual folder. This updates the shortcuts. You can also remove a shortcut, or rename or remove a virtual folder from its context menu.

Virtual folders are saved locally for each VS Code workspace. With one project they appear below Ignored. In a multi-root workspace they appear above the project folders and can contain shortcuts from different roots.

Settings

Setting Default Effect
projectIgnoreExplorer.includeGitIgnored true Group paths reported as ignored by Git.
projectIgnoreExplorer.includeVSCodeExcludes false Also group paths matched by basic boolean files.exclude globs. This scans the workspace.
projectIgnoreExplorer.extraIgnoreFiles [] Read basic positive glob patterns from additional workspace-relative files such as .dockerignore.
projectIgnoreExplorer.refreshIntervalSeconds 0 Enable periodic rescans by setting a positive interval.

Install an update

A push to main builds the VSIX in GitHub Actions. Open the successful run, download the ignore-fold-vsix artifact, and unzip it. Run Extensions: Install from VSIX… in each VS Code installation and choose the VSIX. Bump the version in package.json when preparing a newer installable version.

Automatic updates in the editor use the extension marketplace. See the VS Code publishing guide for publishing an extension.

Development

Open the repository folder in VS Code and press F5 to launch an Extension Development Host. Run npm run lint to check the extension entry point.

Based on Ignore Panel by Armando Aguirre. Distributed under the MIT license.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft