Ignore FoldProject 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
Git determines which untracked paths are ignored, including through nested Explorer layouts and copyingThe default Combined layout shows everything in Project Files. Set 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 foldersClick 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
Install an updateA push to Automatic updates in the editor use the extension marketplace. See the VS Code publishing guide for publishing an extension. DevelopmentOpen the repository folder in VS Code and press F5 to launch an Extension Development Host. Run Based on Ignore Panel by Armando Aguirre. Distributed under the MIT license. |