The files filters allow you to group files types from the usage point of view. Once a file filter is created, you can view, hide, or open files based on a filter in the File browser contextual menu.
The file filters consist of:
whether or not the filter as defined in the Filetypes in filter hides the retrieved files or shows them.
a list of filetypes, as defined in the Filetypes part, separated by a colon.
You add, modify, delete, or move file types the same way it is described in Section 8.1, “Customizing browsers”.
Example VIII.2. Adding a file filter
Following with our example in Section 10, “Modifying file types”, we can add a stylesheet filter to group css and xsl stylesheets together.
To add a stylesheet filter, execute the following steps:
Click on the Preferences... icon in the main tool bar to access the Edit preferences panel.
Click on the Filetypes tab to display the Filetypes panel.
Click on the Filefilters part at the bottom. A new line will be shown, with an Untitled label.button in the
Double-click on the label to allow editing, and enter the string you want to appear in the
Check the Inverse filter box.
Click in the Filetypes in filter field and enter the filetypes you want to group together, separated with a colon. Here it is
Click on thebutton to save and close the panel.
The file types used in the Filetypes in filter match those defined in the Filetypes part. Do not confuse them with the file extensions. For example the C programming file filter matches c and image filetypes, i.e. files whose extensions are .c, .h, etc...