Filtered Directories (Fildir) helps you focus on just the parts of your monorepo that you care about. Fildir creates a virtual workspace root in the File Explorer, listing only the directories (and their subdirectories and files, recursively) that match one of a set of prefixes you specify. Adding a new prefix is simple: right click on a directory or file in the File Explorer and select "Add as Filter Prefix". Removing a prefix is also easy, accessible from either the Fildir panel, Settings UI, or in the settings.json
file.
When viewing directories in the File Explorer, right click and select Add as Filter Prefix
. At the bottom of the list of workspace folders, you'll see the Filtered View
where each root folder is listed along with contents that match the provided filters. Use the Fildir
panel in the sidebar to remove unwanted filters.