Resource Filters

Resource filters allow you to configure which files and folders are included automatically in a project resource hierarchy when refresh is performed.

By adding resource filters to a project or folder, you can systematically prevent some file system entries to be displayed in the resource tree.

A resource filter is either of Include Only or Exclude All type, and can apply to either files, folders, or both.

Resource filters only apply to files and/or folders that are implicitly included in the workspace by the refresh operation. Link files and folders are not affected by resource filters, since they need to be created explicitly by the user.

An "Include" resource filter allows only files and/or folders that match the filter condition to be included in the workspace during the refresh operation. If multiple "Include" filters exist, the elements included will be those who match any of the existing "Include" filters.

An "Exclude" resource filter prevent all files and/or folders that match the filter condition to be included in the workspace during the refresh operation. If multiple "Exclude" filters exist, the elements excluded will be those who match any of the existing "Exclude" filters.

If both "Exclude" and "Include" resource filters exist in a given folder or project, only files and/or folders that match any of the "Include" filters and do not match any of the "Exclude" filters will be included in the workspace.

A resource filter can apply recursively to all children of the project or folder it is created on. In such case, the resource filter will apply to a sub-folder as if it was created in that sub-folder itself, following the rules mentioned above.

Resource filters can be created, edited and removed in the File > Properties > Resource > Resources Filters property page for a project or folder resource.

Resource filters can also be created on a folder before that folder is created in the workspace by selecting the "Resource Filters..." button in the "Advanced" section of the New Folder wizard.

Linked resources Creating resource filters
Viewing resource properties Linked resources